summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-10-13 03:49:48 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-10-13 03:49:48 +0000
commita7d04e536b2c140c39774fb632bd7d3d02c53c4a (patch)
tree67050a0a186ccde7592573c7ba3a555d4771c2ad
parente8da08364c374d5f41bf5057b195d9b2f63bd308 (diff)
Makefile.in: generate for each makefiles
* Makefile.in (MKFILES): generate for each files for parallel build. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43272 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--Makefile.in8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile.in b/Makefile.in
index 327b549..5a2094e 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -258,16 +258,16 @@ install-cross: $(arch)-fake.rb $(RBCONFIG) rbconfig.rb $(arch_hdrdir)/ruby/confi
Makefile: $(srcdir)/Makefile.in $(srcdir)/enc/Makefile.in
$(MKFILES): config.status
- @[ -f Makefile ] && mv Makefile Makefile.old
- MAKE=$(MAKE) $(SHELL) ./config.status
- @cmp Makefile Makefile.old > /dev/null 2>&1 && echo Makefile unchanged && exit 0; \
+ @[ -f $@ ] && mv $@ $@.old
+ MAKE=$(MAKE) $(SHELL) ./config.status $@
+ @cmp $@ $@.old > /dev/null 2>&1 && echo $@ unchanged && exit 0; \
{ \
echo "all:; -@rm -f conftest.mk"; \
echo "conftest.mk: .force; @echo AUTO_REMAKE"; \
echo ".force:"; \
} > conftest.mk || exit 1; \
$(MAKE) -f conftest.mk | grep '^AUTO_REMAKE$$' >/dev/null 2>&1 || \
- { echo "Makefile updated, restart."; exit 1; }
+ { echo "$@ updated, restart."; exit 1; }
uncommon.mk: $(srcdir)/common.mk
sed 's/{\$$([^(){}]*)[^{}]*}//g' $< > $@