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
commitfbae4f97ee2a7d3b67cacd00c76589294a561c8a (patch)
tree34e42d09f0d8020849d4cb642bb4d03cdbfb7702 /Makefile.in
parent794e035046f8694d5085ce2aaaa3c5afe625eaa9 (diff)
Add RDoc to build. Add --ri-system to RDoc
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@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 1a9179d..6e8cd18 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: