summaryrefslogtreecommitdiff
path: root/common.mk
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-09-14 02:23:47 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-09-14 02:23:47 +0000
commit3ab03a234df4964ac02a2b9e462b6cb18b423865 (patch)
tree7d3d97d784339691d11a6268b51f4fb2f598d4aa /common.mk
parentd937bbe9cecd6fe294f21210a5c77e57c2af3e62 (diff)
downloadbundler-3ab03a234df4964ac02a2b9e462b6cb18b423865.tar.gz
* configure.in, common.mk, */configure.bat (rdoc): make before
install if rdoc is enabled. [ruby-dev:39325] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24923 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'common.mk')
-rw-r--r--common.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/common.mk b/common.mk
index 1af48389bb..83e050de48 100644
--- a/common.mk
+++ b/common.mk
@@ -124,7 +124,7 @@ BOOTSTRAPRUBY = $(BASERUBY)
COMPILE_PRELUDE = $(MINIRUBY) -I$(srcdir) -I. -rrbconfig $(srcdir)/tool/compile_prelude.rb
-all: encs exts main
+all: encs exts main $(RDOCTARGET)
main: exts
@$(RUNCMD) $(MKMAIN_CMD) $(MAKE)
@@ -172,7 +172,7 @@ $(STATIC_RUBY)$(EXEEXT): $(MAINOBJ) $(DLDOBJS) $(EXTOBJS) $(LIBRUBY_A)
ruby.imp: $(EXPORTOBJS)
@$(NM) -Pgp $(EXPORTOBJS) | awk 'BEGIN{print "#!"}; $$2~/^[BD]$$/{print $$1}' | sort -u -o $@
-install: install-nodoc $(RDOCTARGET)
+install: install-nodoc install-$(RDOCTARGET)
install-all: install-nodoc install-doc install-capi
install-nodoc: pre-install-nodoc do-install-nodoc post-install-nodoc
@@ -337,6 +337,7 @@ post-install-doc::
rdoc: $(PROGRAM) PHONY
@echo Generating RDoc documentation
$(RUNRUBY) "$(srcdir)/bin/rdoc" --all --ri --op "$(RDOCOUT)" "$(srcdir)"
+nodoc: PHONY
what-where-doc: no-install-doc
no-install-doc: pre-no-install-doc dont-install-doc post-no-install-doc