testtools: Fix included testtools, for systems that don't have it.
[nivanova/samba-autobuild/.git] / lib / testtools / Makefile
1 # See README for copyright and licensing details.
2
3 PYTHON=python
4 SOURCES=$(shell find testtools -name "*.py")
5
6 check:
7         PYTHONPATH=$(PWD) $(PYTHON) -m testtools.run testtools.tests.test_suite
8
9 TAGS: ${SOURCES}
10         ctags -e -R testtools/
11
12 tags: ${SOURCES}
13         ctags -R testtools/
14
15 clean:
16         rm -f TAGS tags
17         find testtools -name "*.pyc" -exec rm '{}' \;
18
19 release:
20         ./setup.py sdist upload --sign
21
22 apidocs:
23         pydoctor --make-html --add-package testtools \
24                 --docformat=restructuredtext --project-name=testtools \
25                 --project-url=https://launchpad.net/testtools
26
27
28 .PHONY: check clean release apidocs