UTILNAME:=argparse PKGNAME:=ruamel.std.argparse VERSION:=$$(python setup.py --version) DIST:=dist/$(PKGNAME)-$(VERSION).tar.gz REGEN:=/usr/local/bin/ruamel_util_new util --std argparse --skip-util --skip-hg sdist: python setup.py sdist wheel: python setup.py bdist_wheel clean: rm -rf build .tox $(PKGNAME).egg-info/ find . -name "*.pyc" -exec rm {} + tar: tar tf $(DIST) devpi: devpi upload $(DIST) regen_setup: rm -f ../argparse/setup.py $(REGEN) pep8 setup.py regen_makefile: rm -f ../$(UTILNAME)/Makefile $(REGEN) BBASE:=ssh://hg@bitbucket.org/ruamel BB:=$(BBASE)/std.$$(/usr/bin/basename $$PWD) bitbucket: ssh ruamel@localhost "cd $$PWD; hg push $(BB)"