summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--common.mk3
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index f86e75156d..7f45e9de0a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Thu Aug 7 05:43:32 2008 NARUSE, Yui <naruse@ruby-lang.org>
+
+ * common.mk: mkdir enc/trans before build tables.
+
Thu Aug 7 05:18:30 2008 NARUSE, Yui <naruse@ruby-lang.org>
* enc/depend: enc/*.c is source but enc/trans/*.c is generated.
diff --git a/common.mk b/common.mk
index 7a26742dc7..8ad590120e 100644
--- a/common.mk
+++ b/common.mk
@@ -382,7 +382,7 @@ $(RBCONFIG): $(srcdir)/mkconfig.rb config.status $(PREP)
-so_name=$(RUBY_SO_NAME) rbconfig.rb
encs: enc.mk $(LIBRUBY) $(PREP)
- $(MINIRUBY) -run -e mkdir -- -p "$(EXTOUT)/$(arch)/enc/trans" enc/trans
+ $(MINIRUBY) -run -e mkdir -- -p "$(EXTOUT)/$(arch)/enc" enc
$(MAKE) -f enc.mk RUBY="$(MINIRUBY)" $(MFLAGS)
enc.mk: $(srcdir)/enc/make_encmake.rb $(srcdir)/enc/Makefile.in $(srcdir)/enc/depend \
@@ -674,6 +674,7 @@ vm.inc: $(srcdir)/template/vm.inc.tmpl
srcs: {$(VPATH)}parse.c {$(VPATH)}lex.c $(srcdir)/ext/ripper/ripper.c transcodes
transcodes: enc.mk
+ $(MINIRUBY) -run -e mkdir -- -p "$(EXTOUT)/$(arch)/enc/trans" enc/trans
$(MAKE) -f enc.mk RUBY="$(MINIRUBY)" MINIRUBY="$(MINIRUBY)" $(MFLAGS) srcs
incs: $(INSNS) {$(VPATH)}node_name.inc {$(VPATH)}encdb.h {$(VPATH)}transdb.h $(srcdir)/revision.h