1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

GNUmakefile.in: new template

* template/GNUmakefile.in: split from configure.in.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39613 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2013-03-06 06:30:08 +00:00
parent 6f4d00e565
commit 6332415800
2 changed files with 7 additions and 4 deletions

View file

@ -3074,10 +3074,7 @@ AS_CASE(["$FIRSTMAKEFILE"], [*GNUmakefile:*], [gnumake=yes], [
rm -fr conftest.dir
AS_CASE(["$gnumake"],
[*yes*], [
echo '@%:@ -*- makefile -*-' > GNUmakefile
echo 'override MFLAGS := $(filter-out -j%,$(MFLAGS))' >> GNUmakefile
echo "include Makefile" >> GNUmakefile
echo "-include uncommon.mk" >> GNUmakefile
FIRSTMAKEFILE=GNUmakefile:template/GNUmakefile.in
gnumake=yes],
[
gnumake=no])

6
template/GNUmakefile.in Normal file
View file

@ -0,0 +1,6 @@
# -*- makefile -*-
override MFLAGS := $(filter-out -j%,$(MFLAGS))
include Makefile
-include uncommon.mk
GNUmakefile: $(srcdir)/template/GNUmakefile.in