File: rules

package info (click to toggle)
wipe 0.24-7
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 500 kB
  • sloc: ansic: 1,925; makefile: 96; perl: 85; sh: 27
file content (24 lines) | stat: -rwxr-xr-x 511 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/usr/bin/make -f

include /usr/share/dpkg/architecture.mk

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

# Define the OS
ifeq ($(DEB_HOST_GNU_SYSTEM), linux-gnu)
        target = linux CC_LINUX='$$(CC)'
else ifeq ($(DEB_HOST_GNU_SYSTEM), kfreebsd-gnu)
        target = freebsd CC_FREEBSD='$$(CC)'
else
        target = generic CC_GENERIC='$$(CC)'
endif

%:
	dh $@

override_dh_auto_build:
	dh_auto_build -- $(target)

override_dh_installman:
	dh_installman
	rm debian/wipe/usr/share/man/man1/wipe.tr-asc.1