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

ruby-changes:22814

From: nobu <ko1@a...>
Date: Thu, 1 Mar 2012 15:44:47 +0900 (JST)
Subject: [ruby-changes:22814] nobu:r34863 (trunk): doc/capi

nobu	2012-03-01 15:44:37 +0900 (Thu, 01 Mar 2012)

  New Revision: 34863

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

  Log:
    doc/capi
    
    * common.mk (doc/capi): use macros.

  Modified files:
    trunk/common.mk

Index: common.mk
===================================================================
--- common.mk	(revision 34862)
+++ common.mk	(revision 34863)
@@ -192,11 +192,11 @@
 	$(Q) $(MAKE) $(MFLAGS) MAINOBJ="$(GOLFOBJS)" PROGRAM=$(GORUBY)$(EXEEXT) program
 capi: $(CAPIOUT)/.timestamp PHONY
 
-doc/capi/.timestamp: Doxyfile $(PREP)
-	$(Q) $(MAKEDIRS) doc/capi
+$(CAPIOUT)/.timestamp: Doxyfile $(PREP)
+	$(Q) $(MAKEDIRS) "$(@D)"
 	$(ECHO) generating capi
 	$(Q) $(DOXYGEN) -b
-	$(Q) $(MINIRUBY) -e 'File.open("$(CAPIOUT)/.timestamp", "w"){|f| f.puts(Time.now)}'
+	$(Q) $(MINIRUBY) -e 'File.open(ARGV[0], "w"){|f| f.puts(Time.now)}' "$@"
 
 Doxyfile: $(srcdir)/template/Doxyfile.tmpl $(PREP) $(srcdir)/tool/generic_erb.rb $(RBCONFIG)
 	$(ECHO) generating $@

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

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