blob: bc552320f269fc5b0b7e039d2245a85941d6d5e7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
#!/usr/bin/make -f
EXAMPLE_SCRIPTS=\
gbp-add-patch \
gbp-cowbuilder-sid \
gbp-posttag-push \
gbp-configure-unpatched-source \
wrap_cl.py
DEB_COMPRESS_EXCLUDE=$(EXAMPLE_SCRIPTS)
PYCHECKER_ARGS=-boptparse --no-override --no-shadowbuiltin
%:
dh $@ --with python2
override_dh_auto_test:
dh_auto_test
export GIT_AUTHOR_NAME="Gbp Tests"; \
export GIT_AUTHOR_EMAIL=tests@example.com; \
export GIT_COMMITTER_NAME=$$GIT_AUTHOR_NAME; \
export GIT_COMMITTER_EMAIL=$$GIT_AUTHOR_EMAIL; \
PYTHONPATH=. \
python setup.py nosetests
PYTHONPATH=. pychecker $(PYCHECKER_ARGS) -q gbp gbp.scripts gbp.git
override_dh_auto_build:
dh_auto_build
epydoc --config=setup.cfg
make -C docs/
override_dh_auto_install:
dh_auto_install
dh_bash-completion
voerride_dh_auto_clean:
dh_auto_clean
make -C docs/ clean
-rm gbp/version.py
override_dh_compress:
dh_compress --exclude=usr/share/doc/git-buildpackage/examples/
|