File: rules

package info (click to toggle)
libtest2-harness-perl 1.000163-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,820 kB
  • sloc: perl: 17,090; makefile: 10; ansic: 6; sh: 4
file content (15 lines) | stat: -rwxr-xr-x 364 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@

override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
	# backup and restore test data
	cp -r $(CURDIR)/t/integration $(CURDIR)/debian/integration.save
	dh_auto_test
	$(RM) -r $(CURDIR)/t/integration
	mv $(CURDIR)/debian/integration.save $(CURDIR)/t/integration/
endif