diff Makefile @ 3864:1a7794525c2b

Automatically build MANIFEST for make dist
author Matt Mackall <mpm@selenic.com>
date Sun, 10 Dec 2006 19:16:38 -0600
parents c51fad25e59e
children 36a957364b1b
line wrap: on
line diff
--- a/Makefile
+++ b/Makefile
@@ -56,7 +56,9 @@ install-home-doc: doc
 dist:	tests dist-notests
 
 dist-notests:	doc
-	TAR_OPTIONS="--owner=root --group=root --mode=u+w,go-w,a+rX-s" $(PYTHON) setup.py sdist --force-manifest
+	hg manifest > MANIFEST
+	TAR_OPTIONS="--owner=root --group=root --mode=u+w,go-w,a+rX-s" $(PYTHON) setup.py sdist
+	rm MANIFEST
 
 tests:
 	cd tests && $(PYTHON) run-tests.py