From fbae4f97ee2a7d3b67cacd00c76589294a561c8a Mon Sep 17 00:00:00 2001 From: dave Date: Mon, 5 Jan 2004 21:48:16 +0000 Subject: 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 --- Makefile.in | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'Makefile.in') 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: -- cgit v1.2.3