From 1acf3abb399d8092aece07acf2151d70bef7774f Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Thu, 25 Jun 2020 09:32:27 +0100 Subject: [PATCH] make the idna properties header building an explicit target --- utils/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/utils/Makefile b/utils/Makefile index 430edf9b4..a0b73d72b 100644 --- a/utils/Makefile +++ b/utils/Makefile @@ -82,7 +82,9 @@ utils/IdnaMappingTable.txt: utils/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 $(VQ)echo " IDNA: $@" $(Q)$(PERL) utils/idna-derived-props-gen.pl -o $@ -p utils/idna-tables-properties.csv -j utils/DerivedJoiningType.txt +endif