2020-06-02 19:22:57 +02:00
|
|
|
#!/usr/bin/env -S make -f
|
|
|
|
|
2020-06-03 15:29:41 +02:00
|
|
|
all: packtab \
|
2022-06-03 10:56:41 +02:00
|
|
|
hb-ot-shaper-arabic-joining-list.hh \
|
|
|
|
hb-ot-shaper-arabic-table.hh hb-unicode-emoji-table.hh \
|
|
|
|
hb-ot-shaper-indic-table.cc hb-ot-tag-table.hh \
|
|
|
|
hb-ucd-table.hh hb-ot-shaper-use-table.hh \
|
|
|
|
hb-ot-shaper-vowel-constraints.cc
|
2020-06-03 15:29:41 +02:00
|
|
|
|
|
|
|
.PHONY: all clean packtab
|
|
|
|
|
2022-06-03 10:56:41 +02:00
|
|
|
hb-ot-shaper-arabic-joining-list.hh: gen-arabic-joining-list.py ArabicShaping.txt Scripts.txt
|
2020-08-12 01:24:46 +02:00
|
|
|
./$^ > $@ || ($(RM) $@; false)
|
2022-06-03 10:56:41 +02:00
|
|
|
hb-ot-shaper-arabic-table.hh: gen-arabic-table.py ArabicShaping.txt UnicodeData.txt Blocks.txt
|
2020-06-03 15:29:41 +02:00
|
|
|
./$^ > $@ || ($(RM) $@; false)
|
2021-09-15 00:14:20 +02:00
|
|
|
hb-unicode-emoji-table.hh: gen-emoji-table.py emoji-data.txt emoji-test.txt
|
2020-06-03 15:29:41 +02:00
|
|
|
./$^ > $@ || ($(RM) $@; false)
|
2022-06-03 10:56:41 +02:00
|
|
|
hb-ot-shaper-indic-table.cc: gen-indic-table.py IndicSyllabicCategory.txt IndicPositionalCategory.txt Blocks.txt
|
2020-06-03 15:29:41 +02:00
|
|
|
./$^ > $@ || ($(RM) $@; false)
|
|
|
|
hb-ot-tag-table.hh: gen-tag-table.py languagetags language-subtag-registry
|
|
|
|
./$^ > $@ || ($(RM) $@; false)
|
|
|
|
hb-ucd-table.hh: gen-ucd-table.py ucd.nounihan.grouped.zip hb-common.h
|
|
|
|
./$^ > $@ || ($(RM) $@; false)
|
2022-06-03 10:56:41 +02:00
|
|
|
hb-ot-shaper-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
|
2020-06-03 15:29:41 +02:00
|
|
|
./$^ > $@ || ($(RM) $@; false)
|
2022-06-03 10:56:41 +02:00
|
|
|
hb-ot-shaper-vowel-constraints.cc: gen-vowel-constraints.py ms-use/IndicShapingInvalidCluster.txt Scripts.txt
|
2020-06-03 15:29:41 +02:00
|
|
|
./$^ > $@ || ($(RM) $@; false)
|
2020-06-02 19:22:57 +02:00
|
|
|
|
|
|
|
packtab:
|
2020-06-03 15:29:41 +02:00
|
|
|
/usr/bin/env python3 -c "import packTab" 2>/dev/null || /usr/bin/env python3 -m pip install git+https://github.com/harfbuzz/packtab
|
2020-06-02 19:22:57 +02:00
|
|
|
|
2022-08-27 21:59:37 +02:00
|
|
|
ArabicShaping.txt Blocks.txt DerivedCoreProperties.txt IndicPositionalCategory.txt IndicSyllabicCategory.txt Scripts.txt UnicodeData.txt:
|
2021-10-08 02:10:31 +02:00
|
|
|
curl -O https://unicode.org/Public/UCD/latest/ucd/$@
|
2020-06-02 19:22:57 +02:00
|
|
|
emoji-data.txt:
|
|
|
|
curl -O https://www.unicode.org/Public/UCD/latest/ucd/emoji/emoji-data.txt
|
2021-09-15 00:14:20 +02:00
|
|
|
emoji-test.txt:
|
|
|
|
curl -O https://www.unicode.org/Public/emoji/latest/emoji-test.txt
|
2020-06-02 19:22:57 +02:00
|
|
|
languagetags:
|
2022-09-20 17:22:54 +02:00
|
|
|
curl -O https://learn.microsoft.com/en-us/typography/opentype/spec/languagetags
|
2020-06-02 19:22:57 +02:00
|
|
|
language-subtag-registry:
|
|
|
|
curl -O https://www.iana.org/assignments/language-subtag-registry/language-subtag-registry
|
|
|
|
ucd.nounihan.grouped.zip:
|
|
|
|
curl -O https://unicode.org/Public/UCD/latest/ucdxml/ucd.nounihan.grouped.zip
|
|
|
|
|
|
|
|
clean:
|
|
|
|
$(RM) \
|
|
|
|
ArabicShaping.txt UnicodeData.txt Blocks.txt emoji-data.txt \
|
|
|
|
IndicSyllabicCategory.txt IndicPositionalCategory.txt \
|
|
|
|
languagetags language-subtag-registry ucd.nounihan.grouped.zip Scripts.txt
|