diff options
author | James Henstridge <james@jamesh.id.au> | 2006-11-10 20:59:25 +0800 |
---|---|---|
committer | James Henstridge <james@jamesh.id.au> | 2006-11-10 20:59:25 +0800 |
commit | 0f22a0ad584e24d1a3a29fb3d1f60112a44e6d2c (patch) | |
tree | 9645cbf0fc3f8344d3805e87ba5e047de6a09def /Makefile | |
parent | 7aebfa25f3e4ad2ab913a46c893f60cd808eb2d2 (diff) | |
download | pytz-0f22a0ad584e24d1a3a29fb3d1f60112a44e6d2c.tar.gz |
Fix build to install/distribute timezone data
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -59,10 +59,11 @@ README.html: test_docs rst2html --embed-stylesheet --stylesheet-path=${STYLESHEET} \ src/README.txt > README.html -.stamp-tzinfo: .stamp-zoneinfo gen_tzinfo.py - ${PYTHON} gen_tzinfo.py ${TARGET} - cp ${OLSON}/src/zone.tab build/dist/pytz/ - chmod u+w build/dist/pytz/zone.tab +.stamp-tzinfo: .stamp-zoneinfo + rm -rf build/dist/* + cp -a src/* build/dist/ + rm -rf build/dist/pytz/zoneinfo + cp -a build/etc/zoneinfo build/dist/pytz/zoneinfo touch $@ .stamp-zoneinfo: @@ -70,7 +71,7 @@ README.html: test_docs touch $@ build/dist/locales/pytz.pot: .stamp-tzinfo - ${PYTHON} gen_pot.py build/dist/pytz/locales/pytz.pot + @: #${PYTHON} gen_pot.py build/dist/pytz/locales/pytz.pot # cd build/dist; mkdir locales; \ # pygettext --extract-all --no-location \ |