diff options
author | Stuart Bishop <stuart@stuartbishop.net> | 2014-11-27 12:09:59 +0700 |
---|---|---|
committer | Stuart Bishop <stuart@stuartbishop.net> | 2014-11-27 12:09:59 +0700 |
commit | 33867e495ddcf0dc33fb21156f9326d1dc0c9e84 (patch) | |
tree | 4776467da56aeb704c2cea4e64144dfc0fe97138 /Makefile | |
parent | 9ab05e4f094f2e705680940065c2a3540cccb0f9 (diff) | |
download | pytz-33867e495ddcf0dc33fb21156f9326d1dc0c9e84.tar.gz |
sync target
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 16 |
1 files changed, 15 insertions, 1 deletions
@@ -154,6 +154,20 @@ build/dist/locales/pytz.pot: .stamp-tzinfo # pygettext --extract-all --no-location \ # --default-domain=pytz --output-dir=locales - +IANA_URL=http://www.iana.org/time-zones/repository + +sync: + cd elsie.nci.nih.gov && \ + rm -f tz{code,data}-latest.tar.gz{,.asc} && \ + wget -S ${IANA_URL}/tzcode-latest.tar.gz && \ + wget -S ${IANA_URL}/tzcode-latest.tar.gz.asc && \ + gpg --verify tzcode-latest.tar.gz.asc tzcode-latest.tar.gz && \ + wget -S ${IANA_URL}/tzdata-latest.tar.gz && \ + wget -S ${IANA_URL}/tzdata-latest.tar.gz.asc && \ + gpg --verify tzdata-latest.tar.gz.asc tzdata-latest.tar.gz && \ + cd src && \ + tar xzf ../tzcode-latest.tar.gz && \ + tar xzf ../tzdata-latest.tar.gz && \ + echo Done .PHONY: all check dist test test_tzinfo test_docs test_zdump |