Mercurial > hg > mercurial-crew-with-dirclash
comparison Makefile @ 1008:85272e96b96a
Add Makefile for generating release tarballs.
- test suite is run
- documentation is generated and included
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Mon, 22 Aug 2005 08:46:43 +0200 |
parents | |
children | f1b052db3515 |
comparison
equal
deleted
inserted
replaced
1007:2e8d96e89dfc | 1008:85272e96b96a |
---|---|
1 # This Makefile is only used by developers. | |
2 PYTHON=python | |
3 | |
4 all: | |
5 @echo "Read the file README for install instructions." | |
6 | |
7 clean: | |
8 -$(PYTHON) setup.py clean --all # ignore errors of this command | |
9 find . -name '*.py[co]' -exec rm -f '{}' ';' | |
10 make -C doc clean | |
11 | |
12 dist: tests doc | |
13 TAR_OPTIONS="--owner=root --group=root --mode=u+w,go-w,a+rX-s" $(PYTHON) setup.py sdist --force-manifest | |
14 | |
15 tests: | |
16 cd tests && ./run-tests | |
17 | |
18 doc: | |
19 make -C doc | |
20 | |
21 | |
22 .PHONY: all clean dist tests doc | |
23 |