Bug 1760604 - fix bogus domain to be example.com which is part of our test PAC rules...
[gecko.git] / gfx / harfbuzz / src / update-unicode-tables.make
blob8c2eaa4182ed7c94c571e6c6c0a0cda24bb26a06
1 #!/usr/bin/env -S make -f
3 all: packtab \
4 hb-ot-shape-complex-arabic-joining-list.hh \
5 hb-ot-shape-complex-arabic-table.hh hb-unicode-emoji-table.hh \
6 hb-ot-shape-complex-indic-table.cc hb-ot-tag-table.hh \
7 hb-ucd-table.hh hb-ot-shape-complex-use-table.hh \
8 hb-ot-shape-complex-vowel-constraints.cc
10 .PHONY: all clean packtab
12 hb-ot-shape-complex-arabic-joining-list.hh: gen-arabic-joining-list.py ArabicShaping.txt Scripts.txt
13 ./$^ > $@ || ($(RM) $@; false)
14 hb-ot-shape-complex-arabic-table.hh: gen-arabic-table.py ArabicShaping.txt UnicodeData.txt Blocks.txt
15 ./$^ > $@ || ($(RM) $@; false)
16 hb-unicode-emoji-table.hh: gen-emoji-table.py emoji-data.txt emoji-test.txt
17 ./$^ > $@ || ($(RM) $@; false)
18 hb-ot-shape-complex-indic-table.cc: gen-indic-table.py IndicSyllabicCategory.txt IndicPositionalCategory.txt Blocks.txt
19 ./$^ > $@ || ($(RM) $@; false)
20 hb-ot-tag-table.hh: gen-tag-table.py languagetags language-subtag-registry
21 ./$^ > $@ || ($(RM) $@; false)
22 hb-ucd-table.hh: gen-ucd-table.py ucd.nounihan.grouped.zip hb-common.h
23 ./$^ > $@ || ($(RM) $@; false)
24 hb-ot-shape-complex-use-table.hh: gen-use-table.py IndicSyllabicCategory.txt IndicPositionalCategory.txt ArabicShaping.txt DerivedCoreProperties.txt UnicodeData.txt Blocks.txt Scripts.txt ms-use/IndicSyllabicCategory-Additional.txt ms-use/IndicPositionalCategory-Additional.txt
25 ./$^ > $@ || ($(RM) $@; false)
26 hb-ot-shape-complex-vowel-constraints.cc: gen-vowel-constraints.py ms-use/IndicShapingInvalidCluster.txt Scripts.txt
27 ./$^ > $@ || ($(RM) $@; false)
29 packtab:
30 /usr/bin/env python3 -c "import packTab" 2>/dev/null || /usr/bin/env python3 -m pip install git+https://github.com/harfbuzz/packtab
32 ArabicShaping.txt DerivedCoreProperties.txt IndicPositionalCategory.txt IndicSyllabicCategory.txt Scripts.txt UnicodeData.txt:
33 curl -O https://unicode.org/Public/UCD/latest/ucd/$@
34 emoji-data.txt:
35 curl -O https://www.unicode.org/Public/UCD/latest/ucd/emoji/emoji-data.txt
36 emoji-test.txt:
37 curl -O https://www.unicode.org/Public/emoji/latest/emoji-test.txt
38 languagetags:
39 curl -O https://docs.microsoft.com/en-us/typography/opentype/spec/languagetags
40 language-subtag-registry:
41 curl -O https://www.iana.org/assignments/language-subtag-registry/language-subtag-registry
42 ucd.nounihan.grouped.zip:
43 curl -O https://unicode.org/Public/UCD/latest/ucdxml/ucd.nounihan.grouped.zip
45 clean:
46 $(RM) \
47 ArabicShaping.txt UnicodeData.txt Blocks.txt emoji-data.txt \
48 IndicSyllabicCategory.txt IndicPositionalCategory.txt \
49 languagetags language-subtag-registry ucd.nounihan.grouped.zip Scripts.txt