summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-08-24 04:23:56 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-08-24 04:23:56 +0000
commit012a13180a63248746827ca267520122f0cde642 (patch)
tree5a558b1fb442d2fde8aaf1a57e28b1d02888f623
parent4f867dddc4408a6f3a192ddb726fae283cfe48df (diff)
* win32/Makefile.sub (MAKEDIRS): define.
* common.mk (capi): using $(MAKEDIRS), so depends on $(PREP). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24635 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--common.mk2
-rw-r--r--win32/Makefile.sub1
2 files changed, 2 insertions, 1 deletions
diff --git a/common.mk b/common.mk
index 8999201cc1..e086eeb0f3 100644
--- a/common.mk
+++ b/common.mk
@@ -146,7 +146,7 @@ miniruby$(EXEEXT): config.status $(NORMALMAINOBJ) $(MINIOBJS) $(COMMONOBJS) $(DM
GORUBY = go$(RUBY_INSTALL_NAME)
golf: $(LIBRUBY) $(GOLFOBJS) PHONY
$(MAKE) $(MFLAGS) MAINOBJ="$(GOLFOBJS)" PROGRAM=$(GORUBY)$(EXEEXT) program
-capi: Doxyfile PHONY
+capi: Doxyfile PHONY $(PREP)
@$(MAKEDIRS) doc/capi
@$(DOXYGEN)
diff --git a/win32/Makefile.sub b/win32/Makefile.sub
index 50d722b58a..416921403e 100644
--- a/win32/Makefile.sub
+++ b/win32/Makefile.sub
@@ -237,6 +237,7 @@ RUNRUBY = $(RUNRUBY) "$(srcdir)/tool/runruby.rb" --extout="$(EXTOUT)" $(RUNRUBYO
!ifndef RUBY
RUBY = ruby
!endif
+MAKEDIRS = @$(MINIRUBY) -run -e mkdir -- -p
!if !defined(STACK)
!if "$(ARCH)" == "x64" || "$(ARCH)" == "ia64"