232.1.5
by Colin Watson
Use test discovery rather than hardcoding a list of test modules. |
1 |
# Copyright 2009-2017 Canonical Ltd. This software is licensed under the
|
1
by Martin Pool
Add snapshot of buildd source extracted from the Launchpad tree |
2 |
# GNU Affero General Public License version 3 (see the file LICENSE).
|
3 |
||
4 |
all: deb |
|
5 |
||
6 |
src: clean |
|
7 |
dpkg-buildpackage -rfakeroot -uc -us -S |
|
8 |
||
9 |
deb: clean |
|
10 |
dpkg-buildpackage -rfakeroot -uc -us |
|
11 |
||
12 |
clean: |
|
13 |
fakeroot debian/rules clean |
|
14
by Martin Pool
Use debhelper for more of the package build. |
14 |
|
15 |
realclean: |
|
1
by Martin Pool
Add snapshot of buildd source extracted from the Launchpad tree |
16 |
rm -f ../launchpad-buildd*tar.gz |
17 |
rm -f ../launchpad-buildd*dsc |
|
18 |
rm -f ../launchpad-buildd*deb |
|
19 |
rm -f ../launchpad-buildd*changes |
|
20 |
||
21 |
.PHONY: all clean deb |
|
35.1.1
by Martin Pool
Add 'make check' target |
22 |
|
23 |
PYTHON=python |
|
24 |
check: |
|
232.1.5
by Colin Watson
Use test discovery rather than hardcoding a list of test modules. |
25 |
PYTHONPATH=$(CURDIR):$(PYTHONPATH) $(PYTHON) -m testtools.run \ |
26 |
discover -v |