summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStuart Bishop <stuart.bishop@canonical.com>2018-02-09 13:06:17 +0700
committerStuart Bishop <stuart.bishop@canonical.com>2018-02-09 14:22:29 +0700
commit1146f4569400094cc321336d376ae6d9622c505b (patch)
tree081afd0580c8c4e4b20db7165304146b79b4e590
parent12d61e638e9617301f847886684bb9efeb6ec875 (diff)
downloadpytz-git-1146f4569400094cc321336d376ae6d9622c505b.tar.gz
lint target & update iana build rule
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index c3aa6cb..0207771 100644
--- a/Makefile
+++ b/Makefile
@@ -63,6 +63,9 @@ sign: dist
test: test_lazy test_tzinfo test_docs test_zdump
+lint: .stamp-tzinfo
+ flake8 --ignore=E402 build/dist gen_*.py test_zdump.py
+
clean:
rm -f .stamp-*
rm -rf build/*/* zdump.out
@@ -135,7 +138,7 @@ upload_docs_pythonhosted: docs
touch $@
.stamp-zoneinfo:
- ${MAKE} -C ${IANA} TOPDIR=`pwd`/build install
+ ${MAKE} -C ${IANA} TOPDIR=`pwd`/build USRDIR= USRSHAREDIR=etc install
# Break hard links, working around http://bugs.python.org/issue8876.
for d in zoneinfo zoneinfo-leaps zoneinfo-posix; do \
rm -rf `pwd`/build/etc/$$d.tmp; \