X-Git-Url: http://gitweb.michael.orlitzky.com/?a=blobdiff_plain;f=makefile;h=122096547f336f92ad28e6f97d795559c41cb78d;hb=a098e91f815fbe4b90dbe965262d7ff66cd5f2f7;hp=9c823dd7c56e90345c2351132b2d9a7653724e94;hpb=7d1ba179e84136abdc56a687c822aa3212a8946d;p=dunshire.git 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