changeset 81:b3c2f0e6bda2

Makefile: add dist target
author Matt Mackall <mpm@selenic.com>
date Thu, 10 Nov 2011 16:42:30 -0600
parents 009e7858a93b
children 5484cfdc2d59
files Makefile
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Thu Nov 10 16:42:12 2011 -0600
+++ b/Makefile	Thu Nov 10 16:42:30 2011 -0600
@@ -7,5 +7,9 @@
 
 .PHONY: tests
 
+dist:
+	TAR_OPTIONS="--owner=root --group=root --mode=u+w,go-w,a+rX-s" $(PYTHON) setup.py -q sdist
+
+
 tests:
 	$(PYTHON) test.py --with-doctest