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_test:
9 ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
10 # backup and restore test data
11 cp -r $(CURDIR)/t/integration $(CURDIR)/debian/integration.save
12 dh_auto_test
13 $(RM) -r $(CURDIR)/t/integration
14 mv $(CURDIR)/debian/integration.save $(CURDIR)/t/integration/
15 endif