diff options
author | dave <dave@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-01-05 21:48:16 +0000 |
---|---|---|
committer | dave <dave@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-01-05 21:48:16 +0000 |
commit | f0914fefebff940614133aefdc947be50768ef88 (patch) | |
tree | f3d31658797f668e2a611820aa11eb1a50c0999f /Makefile.in | |
parent | 2b685d8e9bd2312e910814e89d7e4cd5d7c0617f (diff) | |
download | ruby-f0914fefebff940614133aefdc947be50768ef88.tar.gz ruby-f0914fefebff940614133aefdc947be50768ef88.tar.xz ruby-f0914fefebff940614133aefdc947be50768ef88.zip |
Add RDoc to build. Add --ri-system to RDoc
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5382 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/Makefile.in b/Makefile.in index 1a9179dda..6e8cd18b4 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: |