# HG changeset patch # User Matt Mackall # Date 1165799798 21600 # Node ID 1a7794525c2b82cfb9ad203eb348440964d5e307 # Parent 1ef8ada4370f921d1850b6715a3f8af941337e18 Automatically build MANIFEST for make dist diff --git a/MANIFEST.in b/MANIFEST.in deleted file mode 100644 --- a/MANIFEST.in +++ /dev/null @@ -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 diff --git a/Makefile b/Makefile --- 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