File: rules

package info (click to toggle)
since 1.1-7
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid, trixie
  • size: 384 kB
  • sloc: ansic: 7,220; makefile: 43; sh: 30
file content (20 lines) | stat: -rwxr-xr-x 453 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/make -f

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

export DEB_BUILD_MAINT_OPTIONS=hardening=+all

%:
	dh $@

override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS) $(DEB_BUILD_PROFILES)))
	rm -rf debian/testtmp
	mkdir debian/testtmp
	env PATH=$(CURDIR):$(PATH) AUTOPKGTEST_TMP=$(CURDIR)/debian/testtmp debian/tests/simple
	rm -rf debian/testtmp
endif

# Deliberately empty targets
override_dh_auto_install: