Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2 # The Makefile does not accept CPPFLAGS, so append it to CFLAGS
3 export CFLAGS := $(shell DEB_BUILD_MAINT_OPTIONS=hardening=+all dpkg-buildflags --get CFLAGS)
4 export CFLAGS += $(shell DEB_BUILD_MAINT_OPTIONS=hardening=+all dpkg-buildflags --get CPPFLAGS)
5 export LDFLAGS := $(shell DEB_BUILD_MAINT_OPTIONS=hardening=+all dpkg-buildflags --get LDFLAGS)
6
7 %:
8 NO_COLOR=1 dh $@
9
10 override_dh_auto_configure:
11 dh_auto_configure -- --zshfpath=\$${prefix}/share/zsh/vendor-completions
12
13 override_dh_auto_test:
14 dh_auto_test --
15 python3 -m pytest test
16
17 override_dh_compress:
18 dh_compress -X.webp --