mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Touch Unicode headers and the timestamp before packaging
Not to download Unicode data files at building from the packages.
This commit is contained in:
parent
f0945176c3
commit
ab0c8cc021
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue