summaryrefslogtreecommitdiff
path: root/utils/Makefile
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2020-06-25 09:32:27 +0100
committerVincent Sanders <vince@kyllikki.org>2020-06-25 09:32:27 +0100
commit1acf3abb399d8092aece07acf2151d70bef7774f (patch)
treef9aca8bc5e438a79fa55a6b3c110f814cf64c46d /utils/Makefile
parentebe1b0511444e82830e8de239c34c6817817fba8 (diff)
downloadnetsurf-1acf3abb399d8092aece07acf2151d70bef7774f.tar.gz
netsurf-1acf3abb399d8092aece07acf2151d70bef7774f.tar.bz2
make the idna properties header building an explicit target
Diffstat (limited to 'utils/Makefile')
-rw-r--r--utils/Makefile4
1 files changed, 3 insertions, 1 deletions
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