summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authoreban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-01-08 14:58:57 +0000
committereban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-01-08 14:58:57 +0000
commit50fe8ab6aa95482ea79d69e0c9891c93f6856c0d (patch)
treeb2811f50081057be8a5eb688192a72c02622c68e /Makefile.in
parent54d29aaba965a0405ff119dbadb70415621cc496 (diff)
* configure.in (RDOCTARGET): new macro. if you want to install
rdoc documentation, you need to run configure with --enable-install-doc. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5419 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile.in b/Makefile.in
index 6e8cd18b42..bbfe6f8186 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -139,7 +139,7 @@ ruby.imp: $(LIBRUBY_A)
@@NM@ -Pgp $(LIBRUBY_A) | awk 'BEGIN{print "#!"}; $$2~/^[BD]$$/{print $$1}' | sort -u -o $@
# $(MINIRUBY) $< $@
-install: install-nodoc rdoc
+install: install-nodoc @RDOCTARGET@
install-nodoc: rbconfig.rb
$(MINIRUBY) $(srcdir)/instruby.rb $(SCRIPT_ARGS) --mantype="$(MANTYPE)"
@@ -149,9 +149,9 @@ what-where no-install: rbconfig.rb
$(MINIRUBY) $(srcdir)/instruby.rb -n $(SCRIPT_ARGS) --mantype="$(MANTYPE)"
$(MINIRUBY) $(srcdir)/ext/extmk.rb -n $(SCRIPT_ARGS) install
-rdoc:
+install-doc:
@echo Generating RDoc documentation
- $(MINIRUBY) -I lib bin/rdoc --all --ri-system
+ $(bindir)/$(PROGRAM) $(srcdir)/bin/rdoc --all --ri-system $(srcdir)
clean-ext:
@-$(MINIRUBY) $(srcdir)/ext/extmk.rb $(SCRIPT_ARGS) clean 2> /dev/null || true
@@ -204,7 +204,7 @@ Makefile: $(srcdir)/Makefile.in
.PRECIOUS: @MAKEFILES@
-.PHONY: test install install-nodoc rdoc
+.PHONY: test install install-nodoc install-doc
PHONY: