summaryrefslogtreecommitdiff
path: root/serialized/Makefile
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2014-12-27 15:41:37 +0100
committerPierre Schmitz <pierre@archlinux.de>2014-12-31 11:43:28 +0100
commitc1f9b1f7b1b77776192048005dcc66dcf3df2bfb (patch)
tree2b38796e738dd74cb42ecd9bfd151803108386bc /serialized/Makefile
parentb88ab0086858470dd1f644e64cb4e4f62bb2be9b (diff)
Update to MediaWiki 1.24.1
Diffstat (limited to 'serialized/Makefile')
-rw-r--r--serialized/Makefile28
1 files changed, 24 insertions, 4 deletions
diff --git a/serialized/Makefile b/serialized/Makefile
index 062155b6..c7e75063 100644
--- a/serialized/Makefile
+++ b/serialized/Makefile
@@ -1,7 +1,7 @@
-
-SPECIAL_TARGETS=Utf8Case.ser
+SPECIAL_TARGETS=Utf8Case.ser 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
@@ -13,6 +13,26 @@ dist: $(DIST_TARGETS)
clean:
rm -f $(ALL_TARGETS)
-Utf8Case.ser : ../includes/normal/Utf8Case.php
- php serialize.php -o $@ $<
+Utf8Case.ser: UnicodeData.txt
+ php ../maintenance/language/generateUtf8Case.php
+
+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