aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2019-05-30 22:57:49 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2019-05-30 23:23:11 +0900
commitab0c8cc021b26712c9af9b1309244b7d930c9dfa (patch)
tree8f1d0a9a677f6a54e8e7bf10ab677dc377898243
parentf0945176c356cfe615ff6b4e6012e7e8e0911bd6 (diff)
downloadruby-ab0c8cc021b26712c9af9b1309244b7d930c9dfa.tar.gz
Touch Unicode headers and the timestamp before packaging
Not to download Unicode data files at building from the packages.
-rwxr-xr-xtool/make-snapshot4
1 files changed, 3 insertions, 1 deletions
diff --git a/tool/make-snapshot b/tool/make-snapshot
index 423a4a47e5..57eb195d1c 100755
--- a/tool/make-snapshot
+++ b/tool/make-snapshot
@@ -406,13 +406,15 @@ def package(vcs, rev, destdir, tmp = nil)
mk << commonmk.gsub(/\{\$([^(){}]*)[^{}]*\}/, "")
mk << <<-'APPEND'
+prepare-package: touch-unicode-files
prepare-package: prereq update-download clean-cache $(CLEAN_CACHE)
clean-cache $(CLEAN_CACHE): after-update
update-download:: update-gems
after-update:: extract-gems
extract-gems: update-gems
update-gems:
-$(UNICODE_SRC_DATA_DIR)/.unicode-tables.time: update-unicode
+$(UNICODE_SRC_DATA_DIR)/.unicode-tables.time:
+touch-unicode-files:
APPEND
open(clean.add("Makefile"), "w") do |f|
f.puts mk