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:
parent
6f4d00e565
commit
6332415800
2 changed files with 7 additions and 4 deletions
|
@ -3074,10 +3074,7 @@ AS_CASE(["$FIRSTMAKEFILE"], [*GNUmakefile:*], [gnumake=yes], [
|
||||||
rm -fr conftest.dir
|
rm -fr conftest.dir
|
||||||
AS_CASE(["$gnumake"],
|
AS_CASE(["$gnumake"],
|
||||||
[*yes*], [
|
[*yes*], [
|
||||||
echo '@%:@ -*- makefile -*-' > GNUmakefile
|
FIRSTMAKEFILE=GNUmakefile:template/GNUmakefile.in
|
||||||
echo 'override MFLAGS := $(filter-out -j%,$(MFLAGS))' >> GNUmakefile
|
|
||||||
echo "include Makefile" >> GNUmakefile
|
|
||||||
echo "-include uncommon.mk" >> GNUmakefile
|
|
||||||
gnumake=yes],
|
gnumake=yes],
|
||||||
[
|
[
|
||||||
gnumake=no])
|
gnumake=no])
|
||||||
|
|
6
template/GNUmakefile.in
Normal file
6
template/GNUmakefile.in
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
# -*- makefile -*-
|
||||||
|
override MFLAGS := $(filter-out -j%,$(MFLAGS))
|
||||||
|
include Makefile
|
||||||
|
-include uncommon.mk
|
||||||
|
|
||||||
|
GNUmakefile: $(srcdir)/template/GNUmakefile.in
|
Loading…
Reference in a new issue