[前][次][番号順一覧][スレッド一覧]

ruby-changes:15318

From: nobu <ko1@a...>
Date: Sat, 3 Apr 2010 15:10:04 +0900 (JST)
Subject: [ruby-changes:15318] Ruby:r27205 (trunk): * common.mk (rdoc): no force-update, and add RDOCFLAGS.

nobu	2010-04-03 15:09:37 +0900 (Sat, 03 Apr 2010)

  New Revision: 27205

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=27205

  Log:
    * common.mk (rdoc): no force-update, and add RDOCFLAGS.
    
    * lib/rdoc/options.rb (RDoc#parse): no-force-update option.

  Modified files:
    trunk/ChangeLog
    trunk/common.mk
    trunk/lib/rdoc/options.rb

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 27204)
+++ ChangeLog	(revision 27205)
@@ -1,3 +1,9 @@
+Sat Apr  3 15:09:30 2010  Nobuyoshi Nakada  <nobu@r...>
+
+	* 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@r...>
 
 	* random.c (random_rand): raise ArgumentError on nil, as the
Index: lib/rdoc/options.rb
===================================================================
--- lib/rdoc/options.rb	(revision 27204)
+++ lib/rdoc/options.rb	(revision 27205)
@@ -193,7 +193,7 @@
 
       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
Index: common.mk
===================================================================
--- common.mk	(revision 27204)
+++ common.mk	(revision 27205)
@@ -352,7 +352,7 @@
 
 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

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]