source: trunk/server/lib/testtools/Makefile

Last change on this file was 745, checked in by Silvan Scherrer, 13 years ago

Samba Server: updated trunk to 3.6.0

File size: 765 bytes
Line 
1# See README for copyright and licensing details.
2
3PYTHON=python
4SOURCES=$(shell find testtools -name "*.py")
5
6check:
7 PYTHONPATH=$(PWD) $(PYTHON) -m testtools.run testtools.tests.test_suite
8
9TAGS: ${SOURCES}
10 ctags -e -R testtools/
11
12tags: ${SOURCES}
13 ctags -R testtools/
14
15clean:
16 rm -f TAGS tags
17 find testtools -name "*.pyc" -exec rm '{}' \;
18
19prerelease:
20 # An existing MANIFEST breaks distutils sometimes. Avoid that.
21 -rm MANIFEST
22
23release:
24 ./setup.py sdist upload --sign
25
26snapshot: prerelease
27 ./setup.py sdist
28
29apidocs:
30 pydoctor --make-html --add-package testtools \
31 --docformat=restructuredtext --project-name=testtools \
32 --project-url=https://launchpad.net/testtools
33
34
35.PHONY: check clean prerelease release apidocs
Note: See TracBrowser for help on using the repository browser.