Index: trunk/extensions/cldr/Makefile |
— | — | @@ -0,0 +1,26 @@ |
| 2 | +.PHONY: help all clean |
| 3 | + |
| 4 | +CORE=http://unicode.org/Public/cldr/1.5.0/core.zip |
| 5 | + |
| 6 | +help: |
| 7 | + @echo "'make all' to download CLDR data and rebuild files." |
| 8 | + @echo "'make clean' to delete the generated LanguageNames*.php files." |
| 9 | + @echo "'make distclean' to delete the CLDR data." |
| 10 | + |
| 11 | +all: LanguageNames.php |
| 12 | + |
| 13 | +distclean: |
| 14 | + rm -f core.zip |
| 15 | + rm -rf core |
| 16 | + |
| 17 | +clean: |
| 18 | + rm -f LanguageNames[A-Z]*.php |
| 19 | + |
| 20 | +LanguageNames.php: core/ |
| 21 | + php rebuild.php |
| 22 | + |
| 23 | +core/: core.zip |
| 24 | + unzip core.zip -d core |
| 25 | + |
| 26 | +core.zip: |
| 27 | + curl -C - -O $(CORE) || wget $(CORE) || fetch $(CORE) |
Property changes on: trunk/extensions/cldr/Makefile |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 28 | + native |