File: rules

package info (click to toggle)
kstart 4.2-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 1,660 kB
  • sloc: ansic: 6,445; sh: 4,665; perl: 1,878; makefile: 137
file content (21 lines) | stat: -rwxr-xr-x 475 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/usr/bin/make -f

# Enable compiler hardening flags.
export DEB_BUILD_MAINT_OPTIONS = hardening=+all

# Enable verbose testing.
export C_TAP_VERBOSE = 1

DEB_HOST_ARCH_OS ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_OS)
ifeq ($(DEB_HOST_ARCH_OS),linux)
    SETPAG = --enable-setpag
else
    SETPAG = --disable-setpag
endif

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- --enable-reduced-depends $(SETPAG) \
	    --without-libkafs --with-aklog=/usr/bin/aklog