diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-04-03 04:20:40 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-04-03 04:20:40 +0000 |
commit | 2c485c409db33bbad9313e044e8add2b7c86c105 (patch) | |
tree | e08df22b0a15ad6f06c7830341046b40e5812838 | |
parent | b0c77fe85bd58cf33da252960b0365e2600c0f04 (diff) | |
download | ruby-2c485c409db33bbad9313e044e8add2b7c86c105.tar.gz |
* common.mk (endb.h, transdb.h, prelude.c): depend on $(PREP) and
check if really changed. [ruby-core:16102]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15891 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | common.mk | 27 |
2 files changed, 16 insertions, 16 deletions
@@ -1,4 +1,7 @@ -Thu Apr 3 12:56:01 2008 Nobuyoshi Nakada <nobu@ruby-lang.org> +Thu Apr 3 13:20:38 2008 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * common.mk (endb.h, transdb.h, prelude.c): depend on $(PREP) and + check if really changed. [ruby-core:16102] * Makefile.in, common.mk, configure.in, {win32,bcc32}/Makefile.sub (MINIOBJS, ARCHMINIOBJS): separated. @@ -724,28 +724,25 @@ insns: $(INSNS) node_name.inc: {$(VPATH)}node.h $(BASERUBY) -n $(srcdir)/tool/node_name.rb $? > $@ -encdb: $(PREP) - $(MINIRUBY) $(srcdir)/enc/make_encdb.rb $(srcdir)/enc encdb.h.new - $(IFCHANGE) "encdb.h" "encdb.h.new" +encdb.h: $(PREP) + $(MINIRUBY) $(srcdir)/enc/make_encdb.rb $(srcdir)/enc $@.new + $(IFCHANGE) "$@" "$@.new" -encdb.h: - $(MINIRUBY) $(srcdir)/enc/make_encdb.rb $(srcdir)/enc $@ - -transdb: $(PREP) - $(MINIRUBY) $(srcdir)/enc/trans/make_transdb.rb $(srcdir)/enc/trans transdb.h.new - $(IFCHANGE) "transdb.h" "transdb.h.new" - -transdb.h: - $(MINIRUBY) $(srcdir)/enc/trans/make_transdb.rb $(srcdir)/enc/trans $@ +transdb.h: $(PREP) + $(MINIRUBY) $(srcdir)/enc/trans/make_transdb.rb $(srcdir)/enc/trans $@.new + $(IFCHANGE) "$@" "$@.new" miniprelude.c: $(srcdir)/tool/compile_prelude.rb $(srcdir)/prelude.rb $(BASERUBY) -I$(srcdir) $(srcdir)/tool/compile_prelude.rb $(srcdir)/prelude.rb $@ -prelude.c: $(srcdir)/tool/compile_prelude.rb $(srcdir)/prelude.rb $(srcdir)/gem_prelude.rb $(RBCONFIG) - $(MINIRUBY) -I$(srcdir) -rrbconfig $(srcdir)/tool/compile_prelude.rb $(srcdir)/prelude.rb $(srcdir)/gem_prelude.rb $@ +prelude.c: $(srcdir)/tool/compile_prelude.rb $(srcdir)/prelude.rb $(srcdir)/gem_prelude.rb $(RBCONFIG) $(PREP) + $(MINIRUBY) -I$(srcdir) -rrbconfig $(srcdir)/tool/compile_prelude.rb \ + $(srcdir)/prelude.rb $(srcdir)/gem_prelude.rb $@.new + $(IFCHANGE) "$@" "$@.new" -golf_prelude.c: $(srcdir)/tool/compile_prelude.rb $(srcdir)/prelude.rb $(srcdir)/golf_prelude.rb +golf_prelude.c: $(srcdir)/tool/compile_prelude.rb $(srcdir)/prelude.rb $(srcdir)/golf_prelude.rb $(PREP) $(MINIRUBY) -I$(srcdir) -rrbconfig $(srcdir)/tool/compile_prelude.rb $(srcdir)/golf_prelude.rb $@ + $(IFCHANGE) "$@" "$@.new" prereq: incs srcs preludes |