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:
parent
6decf411c6
commit
f01510d074
3 changed files with 8 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue