wiki.techinc.nl/serialized/Makefile
Timo Tijhof 4f22361759 languages: Use static array files for normalizer data
This reduces the number of '.ser' files to 1 (we still have
first-letters-root.ser).

Change-Id: Ib0ee0d826da34b1825fd5bb74563c6bbadeec75c
2018-05-22 21:38:43 +00:00

26 lines
684 B
Makefile

SPECIAL_TARGETS=first-letters-root.ser
ALL_TARGETS=$(SPECIAL_TARGETS)
DIST_TARGETS=$(SPECIAL_TARGETS)
UNICODE_VERSION=6.0.0
.PHONY: all dist clean
all: $(ALL_TARGETS)
@echo 'Warning: messages are no longer serialized by this makefile.'
dist: $(DIST_TARGETS)
clean:
rm -f $(ALL_TARGETS)
first-letters-root.ser: allkeys.txt ucd.all.grouped.xml
php ../maintenance/language/generateCollationData.php
allkeys.txt:
wget https://www.unicode.org/Public/UCA/$(UNICODE_VERSION)/allkeys.txt
ucd.all.grouped.xml: ucd.all.grouped.zip
unzip ucd.all.grouped.zip ucd.all.grouped.xml
ucd.all.grouped.zip:
wget https://www.unicode.org/Public/$(UNICODE_VERSION)/ucdxml/ucd.all.grouped.zip