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

ruby-changes:43414

From: nobu <ko1@a...>
Date: Wed, 22 Jun 2016 22:02:34 +0900 (JST)
Subject: [ruby-changes:43414] nobu:r55488 (trunk): casefold.h dependency

nobu	2016-06-22 22:02:28 +0900 (Wed, 22 Jun 2016)

  New Revision: 55488

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=55488

  Log:
    casefold.h dependency
    
    * common.mk (enc/unicode/casefold.h): add dependency and update by
      incs.

  Modified files:
    trunk/ChangeLog
    trunk/common.mk
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 55487)
+++ ChangeLog	(revision 55488)
@@ -1,4 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
-Wed Jun 22 17:29:23 2016  Nobuyoshi Nakada  <nobu@r...>
+Wed Jun 22 22:02:26 2016  Nobuyoshi Nakada  <nobu@r...>
+
+	* common.mk (enc/unicode/casefold.h): add dependency and update by
+	  incs.
 
 	* common.mk (lib/unicode_normalize/tables.rb): should not depend
 	  on Unicode data files unless ALWAYS_UPDATE_UNICODE=yes, to get
Index: common.mk
===================================================================
--- common.mk	(revision 55487)
+++ common.mk	(revision 55488)
@@ -807,6 +807,7 @@ all-incs: incs {$(VPATH)}encdb.h {$(VPAT https://github.com/ruby/ruby/blob/trunk/common.mk#L807
 incs: $(INSNS) {$(VPATH)}node_name.inc {$(VPATH)}known_errors.inc \
       {$(VPATH)}vm_call_iseq_optimized.inc $(srcdir)/revision.h \
       $(REVISION_H) enc/unicode/name2ctype.h enc/jis/props.h \
+      $(srcdir)/enc/unicode/casefold.h \
       {$(VPATH)}id.h {$(VPATH)}probes.dmyh
 
 insns: $(INSNS)
@@ -1065,12 +1066,16 @@ $(srcdir)/.unicode-tables.time: $(srcdir https://github.com/ruby/ruby/blob/trunk/common.mk#L1066
 # the next non-comment line was:
 # $(srcdir)/enc/unicode/casefold.h: $(srcdir)/enc/unicode/case-folding.rb \
 # but was changed to make sure CI works on systems that don't have gperf
-unicode-up: $(srcdir)/enc/unicode/case-folding.rb \
+unicode-up: $(srcdir)/enc/unicode/casefold.h
+
+$(srcdir)/$(ALWAYS_UPDATE_UNICODE:yes=enc/unicode/casefold.h): \
 		$(UNICODE_SRC_DATA_DIR)/UnicodeData.txt \
 		$(UNICODE_SRC_DATA_DIR)/SpecialCasing.txt \
 		$(UNICODE_SRC_DATA_DIR)/CaseFolding.txt
+
+$(srcdir)/enc/unicode/casefold.h: $(srcdir)/enc/unicode/case-folding.rb
 	$(Q) $(BASERUBY) $(srcdir)/enc/unicode/case-folding.rb \
-		--output-file=$(srcdir)/enc/unicode/casefold.h \
+		--output-file=$@ \
 		--mapping-data-directory=$(UNICODE_SRC_DATA_DIR)
 
 download-extlibs:

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

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