summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authordave <dave@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-01-05 21:48:16 +0000
committerdave <dave@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-01-05 21:48:16 +0000
commit1b31d09edd94a1bad3fa8e987490d82e7088ebad (patch)
treef3d31658797f668e2a611820aa11eb1a50c0999f /Makefile.in
parent791f55ef987d523855ffdcae709c054cf897e148 (diff)
Add RDoc to build. Add --ri-system to RDoc
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5382 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in10
1 files changed, 8 insertions, 2 deletions
diff --git a/Makefile.in b/Makefile.in
index 1a9179dda1..6e8cd18b42 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -139,7 +139,9 @@ ruby.imp: $(LIBRUBY_A)
@@NM@ -Pgp $(LIBRUBY_A) | awk 'BEGIN{print "#!"}; $$2~/^[BD]$$/{print $$1}' | sort -u -o $@
# $(MINIRUBY) $< $@
-install: rbconfig.rb
+install: install-nodoc rdoc
+
+install-nodoc: rbconfig.rb
$(MINIRUBY) $(srcdir)/instruby.rb $(SCRIPT_ARGS) --mantype="$(MANTYPE)"
$(MINIRUBY) $(srcdir)/ext/extmk.rb $(SCRIPT_ARGS) install
@@ -147,6 +149,10 @@ 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:
+ @echo Generating RDoc documentation
+ $(MINIRUBY) -I lib bin/rdoc --all --ri-system
+
clean-ext:
@-$(MINIRUBY) $(srcdir)/ext/extmk.rb $(SCRIPT_ARGS) clean 2> /dev/null || true
@@ -198,7 +204,7 @@ Makefile: $(srcdir)/Makefile.in
.PRECIOUS: @MAKEFILES@
-.PHONY: test
+.PHONY: test install install-nodoc rdoc
PHONY: