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

ruby-changes:46001

From: nobu <ko1@a...>
Date: Fri, 24 Mar 2017 10:10:51 +0900 (JST)
Subject: [ruby-changes:46001] nobu:r58072 (trunk): Make Unicode data directory

nobu	2017-03-24 10:10:46 +0900 (Fri, 24 Mar 2017)

  New Revision: 58072

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

  Log:
    Make Unicode data directory

  Modified files:
    trunk/common.mk
Index: common.mk
===================================================================
--- common.mk	(revision 58071)
+++ common.mk	(revision 58072)
@@ -1160,12 +1160,16 @@ $(UNICODE_SRC_DATA_DIR)/$(ALWAYS_UPDATE_ https://github.com/ruby/ruby/blob/trunk/common.mk#L1160
 $(UNICODE_SRC_DATA_DIR)/.unicode-tables.time: $(srcdir)/tool/generic_erb.rb \
 		$(srcdir)/template/unicode_norm_gen.tmpl \
 		$(ALWAYS_UPDATE_UNICODE:yes=update-unicode)
+	$(Q) $(MAKE) $(@D)
 	$(Q) $(BASERUBY) $(srcdir)/tool/generic_erb.rb \
 		-c -t$@ -o $(srcdir)/lib/unicode_normalize/tables.rb \
 		-I $(srcdir) \
 		$(srcdir)/template/unicode_norm_gen.tmpl \
 		$(UNICODE_DATA_DIR) lib/unicode_normalize
 
+$(UNICODE_SRC_DATA_DIR):
+	$(Q) $(exec) $(MAKEDIRS) $@ || exit && echo $(MAKE)
+
 $(UNICODE_HDR_DIR)/$(ALWAYS_UPDATE_UNICODE:yes=name2ctype.h): \
 		$(UNICODE_SRC_DATA_DIR)/UnicodeData.txt \
 		$(UNICODE_PROPERTY_FILES)

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

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