s4:objectclass LDB module - fix a comment
[nivanova/samba-autobuild/.git] / lib / testtools / Makefile
index 5e232e339469ca94f7d8b0f297efa0044e2fefa9..c36fbd8012cd2cd22169aaf392d78d2675c71642 100644 (file)
@@ -16,13 +16,20 @@ clean:
        rm -f TAGS tags
        find testtools -name "*.pyc" -exec rm '{}' \;
 
+prerelease:
+       # An existing MANIFEST breaks distutils sometimes. Avoid that.
+       -rm MANIFEST
+
 release:
        ./setup.py sdist upload --sign
 
+snapshot: prerelease
+       ./setup.py sdist
+
 apidocs:
        pydoctor --make-html --add-package testtools \
                --docformat=restructuredtext --project-name=testtools \
                --project-url=https://launchpad.net/testtools
 
 
-.PHONY: check clean release apidocs
+.PHONY: check clean prerelease release apidocs