Automatically build MANIFEST for make dist
authorMatt Mackall <mpm@selenic.com>
Sun, 10 Dec 2006 19:16:38 -0600
changeset 3864 1a7794525c2b
parent 3863 1ef8ada4370f
child 3865 36a957364b1b
Automatically build MANIFEST for make dist
MANIFEST.in
Makefile
--- a/MANIFEST.in	Sun Dec 10 17:41:07 2006 -0600
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,17 +0,0 @@
-include hg
-recursive-include mercurial *.py
-include hgweb.cgi hgwebdir.cgi
-include hgeditor rewrite-log
-include tests/README tests/*.py tests/test-*[a-z0-9] tests/*.out tests/*.bin
-prune tests/*.err
-include *.txt
-include doc/README doc/Makefile doc/gendoc.py doc/*.txt doc/*.html doc/*.[0-9]
-recursive-include templates *
-recursive-include contrib *
-recursive-include hgext *
-include README
-include CONTRIBUTORS
-include COPYING
-include Makefile
-include MANIFEST.in
-prune *.elc *.orig *.rej *~ *.o *.so *.pyc *.swp *.prof
--- a/Makefile	Sun Dec 10 17:41:07 2006 -0600
+++ b/Makefile	Sun Dec 10 19:16:38 2006 -0600
@@ -56,7 +56,9 @@
 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