Index: trunk/extensions/cldr/rebuild.php |
— | — | @@ -13,7 +13,7 @@ |
14 | 14 | $dir = dirname(__FILE__); |
15 | 15 | require_once( "$dir/cldr.php" ); |
16 | 16 | |
17 | | -$DATA = "$dir/common/main"; |
| 17 | +$DATA = "$dir/core/common/main"; |
18 | 18 | $OUTPUT = $dir; |
19 | 19 | |
20 | 20 | if (isset( $options['datadir'] ) ) { |
Index: trunk/extensions/cldr/README |
— | — | @@ -11,8 +11,8 @@ |
12 | 12 | http://www.unicode.org/cldr/repository_access.html |
13 | 13 | |
14 | 14 | Example: |
15 | | - wget http://www.unicode.org/Public/cldr/2.0.1/common.zip |
16 | | - unzip common.zip -d core |
| 15 | + wget http://www.unicode.org/Public/cldr/2.0.1/core.zip |
| 16 | + unzip core.zip -d core |
17 | 17 | php rebuild.php |
18 | 18 | |
19 | 19 | == Usage == |
Index: trunk/extensions/cldr/Makefile |
— | — | @@ -1,6 +1,6 @@ |
2 | 2 | .PHONY: help all clean |
3 | 3 | |
4 | | -COMMON=http://www.unicode.org/Public/cldr/2.0.1/common.zip |
| 4 | +CORE=http://www.unicode.org/Public/cldr/2.0.1/core.zip |
5 | 5 | |
6 | 6 | help: |
7 | 7 | @echo "'make all' to download CLDR data and rebuild files." |
— | — | @@ -12,17 +12,15 @@ |
13 | 13 | distclean: |
14 | 14 | rm -f core.zip |
15 | 15 | rm -rf core |
16 | | - rm -f common.zip |
17 | | - rm -rf common |
18 | 16 | |
19 | 17 | clean: |
20 | 18 | rm -f LanguageNames[A-Z]*.php |
21 | 19 | |
22 | | -LanguageNames.php: common/ |
| 20 | +LanguageNames.php: core/ |
23 | 21 | php rebuild.php |
24 | 22 | |
25 | | -common/: common.zip |
26 | | - unzip common.zip -d common |
| 23 | +core/: core.zip |
| 24 | + unzip core.zip -d core |
27 | 25 | |
28 | | -common.zip: |
29 | | - curl -C - -O $(COMMON) || wget $(COMMON) || fetch $(COMMON) |
| 26 | +core.zip: |
| 27 | + curl -C - -O $(CORE) || wget $(CORE) || fetch $(CORE) |