comparison Makefile @ 2234:9ea93ff67a73

New make target "dist-notests" to create tarballs without running tests first.
author Thomas Arendsen Hein <thomas@intevation.de>
date Tue, 09 May 2006 17:21:53 +0200
parents 3840cefa5222
children 457e4247315d
comparison
equal deleted inserted replaced
2233:3840cefa5222 2234:9ea93ff67a73
12 clean: 12 clean:
13 -$(PYTHON) setup.py clean --all # ignore errors of this command 13 -$(PYTHON) setup.py clean --all # ignore errors of this command
14 find . -name '*.py[co]' -exec rm -f '{}' ';' 14 find . -name '*.py[co]' -exec rm -f '{}' ';'
15 $(MAKE) -C doc clean 15 $(MAKE) -C doc clean
16 16
17 dist: tests doc 17 dist: tests dist-notests
18
19 dist-notests: doc
18 TAR_OPTIONS="--owner=root --group=root --mode=u+w,go-w,a+rX-s" $(PYTHON) setup.py sdist --force-manifest 20 TAR_OPTIONS="--owner=root --group=root --mode=u+w,go-w,a+rX-s" $(PYTHON) setup.py sdist --force-manifest
19 21
20 tests: 22 tests:
21 cd tests && $(PYTHON) run-tests.py 23 cd tests && $(PYTHON) run-tests.py
22 24
25 27
26 doc: 28 doc:
27 $(MAKE) -C doc 29 $(MAKE) -C doc
28 30
29 31
30 .PHONY: all clean dist tests doc 32 .PHONY: all clean dist dist-notests tests doc
31 33