Debian Codegraph @

debian/rules

raw symbols SCIP
1 #!/usr/bin/make -f
2
3 srcname = debiancontributors
4 version = $(shell sed -nre 's/.*version[ ]*=[ ]*"([^"]+)".*/\1/p' setup.py)
5
6 export PYBUILD_NAME=debiancontributors
7
8
9 %:
10 dh $@ --with python3 --buildsystem=pybuild
11
12 override_dh_auto_build:
13 dh_auto_build
14 COLUMNS=200 help2man --name='Manage contributions to contributors.debian.org' --section=1 --version-string="$(version)" --no-info ./dc-tool > dc-tool.1
15
16 debsrc:
17 python3 setup.py sdist
18 mv dist/$(srcname)-$(version).tar.gz ../$(srcname)_$(version).orig.tar.gz
19 gbp buildpackage -S -us -uc
20
21 bpodebsrc:
22 if [ ! -e ../$(srcname)_$(version).orig.tar.gz ] ; then \
23 echo "Please copy the original $(srcname)_$(version).orig.tar.gz in .." >&2 ; \
24 exit 1 ; \
25 fi
26 gbp buildpackage --git-debian-branch=backport -S -us -uc