1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* common.mk (rdoc): no force-update, and add RDOCFLAGS.

* lib/rdoc/options.rb (RDoc#parse): no-force-update option.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27205 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2010-04-03 06:09:37 +00:00
parent 6decf411c6
commit f01510d074
3 changed files with 8 additions and 2 deletions

View file

@ -1,3 +1,9 @@
Sat Apr 3 15:09:30 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
* common.mk (rdoc): no force-update, and add RDOCFLAGS.
* lib/rdoc/options.rb (RDoc#parse): no-force-update option.
Sat Apr 3 10:51:10 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
* random.c (random_rand): raise ArgumentError on nil, as the

View file

@ -352,7 +352,7 @@ post-install-doc::
rdoc: main PHONY
@echo Generating RDoc documentation
$(XRUBY) "$(srcdir)/bin/rdoc" --all --ri --op "$(RDOCOUT)" "$(srcdir)"
$(XRUBY) "$(srcdir)/bin/rdoc" --no-force-update --all --ri --op "$(RDOCOUT)" $(RDOCFLAGS) "$(srcdir)"
nodoc: PHONY
what-where-doc: no-install-doc

View file

@ -193,7 +193,7 @@ Usage: #{opt.program_name} [options] [names...]
opt.separator nil
opt.on("--force-update", "-U",
opt.on("--[no-]force-update", "-U",
"Forces rdoc to scan all sources even if",
"newer than the flag file.") do |value|
@force_update = value