diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2023-07-02 13:00:44 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2023-07-02 13:00:44 +0900 |
commit | fa6e14c45d85e2c2b21c69e04d87135dc5423a09 (patch) | |
tree | b4f4e6766cf52ef534eb86e991929dac0cd89f4e /common.mk | |
parent | 765a19ab593b481f262a07be5d88484f820da3c2 (diff) |
[DOC] Stop downloading Unicode data only for unicode_properties.rdoc
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/8011
Diffstat (limited to 'common.mk')
-rw-r--r-- | common.mk | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -1731,10 +1731,14 @@ $(UNICODE_HDR_DIR)/name2ctype.h: $(MV) $@.new $@ srcs-doc: $(srcdir)/doc/regexp/unicode_properties.rdoc -$(srcdir)/doc/regexp/unicode_properties.rdoc: $(UNICODE_HDR_DIR)/name2ctype.h $(UNICODE_PROPERTY_FILES) +$(srcdir)/doc/regexp/$(ALWAYS_UPDATE_UNICODE:yes=unicode_properties.rdoc): \ + $(UNICODE_HDR_DIR)/name2ctype.h $(UNICODE_PROPERTY_FILES) + +$(srcdir)/doc/regexp/unicode_properties.rdoc: $(Q) $(BOOTSTRAPRUBY) $(tooldir)/generic_erb.rb -c -o $@ \ $(srcdir)/template/unicode_properties.rdoc.tmpl \ - $(UNICODE_SRC_DATA_DIR) $(UNICODE_HDR_DIR)/name2ctype.h + $(UNICODE_SRC_DATA_DIR) $(UNICODE_HDR_DIR)/name2ctype.h || \ + $(TOUCH) $@ # the next non-comment line was: # $(UNICODE_HDR_DIR)/casefold.h: $(tooldir)/enc-case-folding.rb \ |