X-Git-Url: http://gitweb.michael.orlitzky.com/?p=dunshire.git;a=blobdiff_plain;f=makefile;h=122096547f336f92ad28e6f97d795559c41cb78d;hp=9c823dd7c56e90345c2351132b2d9a7653724e94;hb=adcd28c3d581d9349d877c0589eaa4953b589423;hpb=d4712d6082f26fd3cdd7fa294bca6f1ef8f06442 diff --git a/makefile b/makefile index 9c823dd..1220965 100644 --- a/makefile +++ b/makefile @@ -32,8 +32,17 @@ checkloop: lint: pylint --rcfile=./.pylintrc $(SRCS) +# Create a source distribution tarball. First we clean up, to make +# sure no junk gets added to the distribution. Then we build the docs +# so that users will get some usable HTML documentation and not just +# the source files. +.PHONY: dist +dist: clean doc + python setup.py sdist + # Delete urrythang. .PHONY: clean clean: rm -rf $(PN)/__pycache__ test/__pycache__ doc/build rm -rf $(PN).egg-info + rm -rf dist