Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2
3 NULL =
4
5 include /usr/share/dpkg/architecture.mk
6
7 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
8 DPKG_EXPORT_BUILDFLAGS = 1
9 include /usr/share/dpkg/buildflags.mk
10
11 export DPKG_GENSYMBOLS_CHECK_LEVEL = 4
12
13 %:
14 dh $@ --with gir
15
16 override_dh_auto_configure:
17 dh_auto_configure -- \
18 -DENABLE_TESTS=ON \
19 $(NULL)
20
21 override_dh_auto_test:
22 mkdir -p $(CURDIR)/debian/tmphome/.local/share
23 mkdir -p $(CURDIR)/debian/tmphome/.cache
24 export HOME=$(CURDIR)/debian/tmphome \
25 && export XDG_DATA_HOME=$(CURDIR)/debian/tmphome/.local/share \
26 && export XDG_CACHE_HOME=$(CURDIR)/debian/tmphome/.cache \
27 && unset DBUS_SESSION_BUS_ADDRESS \
28 && dh_auto_test --no-parallel
29 rm -Rf $(CURDIR)/debian/tmphome
30
31 get-orig-source:
32 uscan --noconf --force-download --rename --download-current-version --destdir=..