From 6faf26689382c35d2fb8df90b096ea34c87b3ed5 Mon Sep 17 00:00:00 2001 From: nobu Date: Thu, 4 Apr 2019 05:10:26 +0000 Subject: [PATCH] gmake.mk: update normalization table * defs/gmake.mk: try to update Unicode normalization tables file if Unicode data files exist. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67436 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- defs/gmake.mk | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/defs/gmake.mk b/defs/gmake.mk index 2db12cea69..eb9e35a446 100644 --- a/defs/gmake.mk +++ b/defs/gmake.mk @@ -185,6 +185,12 @@ $(MJIT_MIN_HEADER): $(mjit_min_headers) $(PREP) endif +ifneq ($(wildcard $(UNICODE_FILES) $(UNICODE_PROPERTY_FILES)),) +.PHONY: $(UNICODE_SRC_DATA_DIR)/.unicode-tables.time +$(UNICODE_SRC_DATA_DIR)/.unicode-tables.time: \ + $(UNICODE_FILES) $(UNICODE_PROPERTY_FILES) +endif + # GNU make treat the target as unmodified when its dependents get # updated but it is not updated, while others may not. $(srcdir)/revision.h: $(REVISION_H)