summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJames Henstridge <james@jamesh.id.au>2006-11-28 16:08:55 +0800
committerJames Henstridge <james@jamesh.id.au>2006-11-28 16:08:55 +0800
commit36c66aacba4e9cdf022356209eeb7ff377ec4568 (patch)
treecce68bee3da765f04ef868069cff5f93d6a23346 /Makefile
parent39977c2d98fbd6d10c273a34eb939bd530052173 (diff)
downloadpytz-36c66aacba4e9cdf022356209eeb7ff377ec4568.tar.gz
fix generation of all_timezones/common_timezones lists
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 8a1846f..fe76f4b 100644
--- a/Makefile
+++ b/Makefile
@@ -59,9 +59,8 @@ README.html: test_docs
rst2html --embed-stylesheet --stylesheet-path=${STYLESHEET} \
src/README.txt > README.html
-.stamp-tzinfo: .stamp-zoneinfo
- rm -rf build/dist/*
- cp -a src/* build/dist/
+.stamp-tzinfo: .stamp-zoneinfo gen_tzinfo.py build/etc/zoneinfo/GMT
+ ${PYTHON} gen_tzinfo.py ${TARGET}
rm -rf build/dist/pytz/zoneinfo
cp -a build/etc/zoneinfo build/dist/pytz/zoneinfo
touch $@