diff options
Diffstat (limited to 'www/wiki/serialized/Makefile')
-rw-r--r-- | www/wiki/serialized/Makefile | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/www/wiki/serialized/Makefile b/www/wiki/serialized/Makefile new file mode 100644 index 00000000..45aed880 --- /dev/null +++ b/www/wiki/serialized/Makefile @@ -0,0 +1,35 @@ +SPECIAL_TARGETS=normalize-ar.ser normalize-ml.ser 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) + +normalize-ar.ser: UnicodeData.txt + php ../maintenance/language/generateNormalizerDataAr.php + +normalize-ml.ser: + php ../maintenance/language/generateNormalizerDataMl.php + +first-letters-root.ser: allkeys.txt ucd.all.grouped.xml + php ../maintenance/language/generateCollationData.php + +UnicodeData.txt: + wget http://www.unicode.org/Public/$(UNICODE_VERSION)/ucd/UnicodeData.txt + +allkeys.txt: + wget http://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 http://www.unicode.org/Public/$(UNICODE_VERSION)/ucdxml/ucd.all.grouped.zip |