Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2
3 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
4
5 %:
6 dh $@
7
8 override_dh_auto_configure:
9 dh_auto_configure -- \
10 --disable-silent-rules \
11 --with-shell=/bin/sh \
12 --libdir=/usr/lib \
13 --mandir=/usr/share/man
14
15 override_dh_installdocs:
16 dh_installdocs -A README.md
17
18 override_dh_auto_clean:
19 [ ! -r Makefile ] || make distclean
20
21 override_dh_install:
22 dh_install
23
24 override_dh_auto_test:
25 # at the moment do nothing here
26 # the packages needed for these tests are not yet in Debian
27
28 get-orig-source:
29 set -e;\
30 quilt pop -af || true ;\
31 rm -Rf .pc ;\
32 gbp import-orig --pristine-tar --uscan --no-merge --upstream-branch=upstream/latest;\
33 utag=`git describe --exact-match heads/upstream/latest | sed -e 's#^upstream/##'` ;\
34 ucommit=`git rev-parse --verify upstream/latest`;\
35 git dpm record-new-upstream --rebase-patched --allow-changes-in-debian-branch ../cpdb-backend-cups_$$utag.orig.tar.gz $$ucommit ;\
36 git dpm update-patches -m "Merge upstream-repacked $$utag version and refresh git-dpm patches"