VERSION := 9978 DISTFILES = Makefile blatta README.txt lib migrations tests test_net_configs start_test_net.sh all: echo "Nothing to do." dist: mkdir blatta-$(VERSION) cp -r $(DISTFILES) blatta-$(VERSION) tar cvzf blatta-$(VERSION).tar.gz --exclude='*.db*' blatta-$(VERSION) rm -rf blatta-$(VERSION) clean: rm -rf blatta-$(VERSION).diff blatta-$(VERSION).diff.escaped blatta-$(VERSION) find . -name "*.swp" -delete find . -name "*.pyc" -delete rm *.tar.gz test: python -m unittest discover -v