make the idna properties header building an explicit target

This commit is contained in:
Vincent Sanders 2020-06-25 09:32:27 +01:00
parent ebe1b05114
commit 1acf3abb39

View File

@ -82,7 +82,9 @@ utils/IdnaMappingTable.txt:
utils/idna-tables-properties.csv: utils/idna-tables-properties.csv:
curl -o $@ "https://www.iana.org/assignments/idna-tables-$(IDNA_UNICODE_MAJOR).0.0/idna-tables-properties.csv" curl -o $@ "https://www.iana.org/assignments/idna-tables-$(IDNA_UNICODE_MAJOR).0.0/idna-tables-properties.csv"
# the idna props header must be explicitly rebuilt
ifneq ($(filter $(MAKECMDGOALS),utils/idna_props.h),)
utils/idna_props.h: utils/DerivedJoiningType.txt utils/idna-tables-properties.csv utils/idna_props.h: utils/DerivedJoiningType.txt utils/idna-tables-properties.csv
$(VQ)echo " IDNA: $@" $(VQ)echo " IDNA: $@"
$(Q)$(PERL) utils/idna-derived-props-gen.pl -o $@ -p utils/idna-tables-properties.csv -j utils/DerivedJoiningType.txt $(Q)$(PERL) utils/idna-derived-props-gen.pl -o $@ -p utils/idna-tables-properties.csv -j utils/DerivedJoiningType.txt
endif