Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F7496121
Makefile
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
744 B
Referenced Files
None
Subscribers
None
Makefile
View Options
.PHONY: help all clean test rebuild
CLDR_CORE_URL=https://www.unicode.org/Public/cldr/47/core.zip
help:
@echo "'make all' to download CLDR data and rebuild files."
@echo "'make test' to run the phpunit tests"
@echo "'make clean' to delete the generated LanguageNames*.php files."
@echo "'make distclean' to delete the CLDR data."
all: rebuild
distclean:
rm -f core.zip
rm -rf core
clean:
rm -f CldrCurrency/CldrCurrency[A-Z]*.php CldrMain/CldrMain[A-Z]*.php CldrSupplemental/CldrSupplemental[A-Z]*.php
test:
php ${MW_INSTALL_PATH}/tests/phpunit/phpunit.php tests
rebuild: core/
php rebuild.php
core/: core.zip
unzip core.zip -d core
core.zip:
curl -C - -O $(CLDR_CORE_URL) || wget $(CLDR_CORE_URL) || fetch $(CLDR_CORE_URL)
File Metadata
Details
Attached
Mime Type
text/x-makefile
Expires
Mon, Nov 23, 22:10 (6 d, 12 h ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
88/fd/4ad94d094943527684015f829d16
Default Alt Text
Makefile (744 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment