Show More
@@ -46,7 +46,7 b' clean:' | |||||
46 | -$(PYTHON) setup.py clean --all # ignore errors from this command |
|
46 | -$(PYTHON) setup.py clean --all # ignore errors from this command | |
47 | find . \( -name '*.py[cdo]' -o -name '*.so' \) -exec rm -f '{}' ';' |
|
47 | find . \( -name '*.py[cdo]' -o -name '*.so' \) -exec rm -f '{}' ';' | |
48 | rm -f $(addprefix mercurial/,$(notdir $(wildcard mercurial/pure/*.py))) |
|
48 | rm -f $(addprefix mercurial/,$(notdir $(wildcard mercurial/pure/*.py))) | |
49 | rm -f MANIFEST tests/*.err |
|
49 | rm -f MANIFEST MANIFEST.in tests/*.err | |
50 | rm -rf build mercurial/locale |
|
50 | rm -rf build mercurial/locale | |
51 | $(MAKE) -C doc clean |
|
51 | $(MAKE) -C doc clean | |
52 |
|
52 | |||
@@ -69,14 +69,14 b' install-home-doc: doc' | |||||
69 | MANIFEST-doc: |
|
69 | MANIFEST-doc: | |
70 | $(MAKE) -C doc MANIFEST |
|
70 | $(MAKE) -C doc MANIFEST | |
71 |
|
71 | |||
72 | MANIFEST: MANIFEST-doc |
|
72 | MANIFEST.in: MANIFEST-doc | |
73 | hg manifest > MANIFEST |
|
73 | hg manifest | sed -e 's/^/include /' > MANIFEST.in | |
74 | echo mercurial/__version__.py >> MANIFEST |
|
74 | echo include mercurial/__version__.py >> MANIFEST.in | |
75 |
|
|
75 | sed -e 's/^/include /' < doc/MANIFEST >> MANIFEST.in | |
76 |
|
76 | |||
77 | dist: tests dist-notests |
|
77 | dist: tests dist-notests | |
78 |
|
78 | |||
79 | dist-notests: doc MANIFEST |
|
79 | dist-notests: doc MANIFEST.in | |
80 | TAR_OPTIONS="--owner=root --group=root --mode=u+w,go-w,a+rX-s" $(PYTHON) setup.py -q sdist |
|
80 | TAR_OPTIONS="--owner=root --group=root --mode=u+w,go-w,a+rX-s" $(PYTHON) setup.py -q sdist | |
81 |
|
81 | |||
82 | check: tests |
|
82 | check: tests |
General Comments 0
You need to be logged in to leave comments.
Login now