diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | common.mk | 2 | ||||
-rw-r--r-- | lib/rdoc/options.rb | 2 |
3 files changed, 8 insertions, 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 diff --git a/lib/rdoc/options.rb b/lib/rdoc/options.rb index e4616f2aed..f67241bc03 100644 --- a/lib/rdoc/options.rb +++ b/lib/rdoc/options.rb @@ -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 |