summaryrefslogtreecommitdiff
path: root/common.mk
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-01-29 08:05:26 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-01-29 08:05:26 +0000
commit419f0da293f51ae96d54ca1ce26110c784b6fc27 (patch)
tree862271ec9adca0591735cfa377251d2a0fc8b06e /common.mk
parentd5c8ad535961968b40823512ccdb12e38f1ed529 (diff)
* tool/ifchange: remove $temp when unchanged.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15312 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'common.mk')
-rw-r--r--common.mk5
1 files changed, 2 insertions, 3 deletions
diff --git a/common.mk b/common.mk
index 7bf6c162ab..4e73b762fd 100644
--- a/common.mk
+++ b/common.mk
@@ -700,17 +700,16 @@ vm.inc: $(srcdir)/template/vm.inc.tmpl
srcs: {$(VPATH)}parse.c {$(VPATH)}lex.c $(srcdir)/ext/ripper/ripper.c
-incs: $(INSNS) {$(VPATH)}node_name.inc $(srcdir)/revision.h
+incs: $(INSNS) {$(VPATH)}node_name.inc {$(VPATH)}encdb.h $(srcdir)/revision.h
node_name.inc: {$(VPATH)}node.h
$(BASERUBY) -n $(srcdir)/tool/node_name.rb $? > $@
-encdb.h.new::
+encdb.h.new:
$(BASERUBY) $(srcdir)/enc/make_encdb.rb $(srcdir)/enc $@
encdb.h: encdb.h.new
$(IFCHANGE) "$@" "$@.new"
- -@$(RM) "$@.new"
miniprelude.c: $(srcdir)/tool/compile_prelude.rb $(srcdir)/prelude.rb
$(BASERUBY) -I$(srcdir) $(srcdir)/tool/compile_prelude.rb $(srcdir)/prelude.rb $@