File: rules

package info (click to toggle)
pax-utils 1.3.7-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 800 kB
  • sloc: ansic: 9,236; python: 654; sh: 437; makefile: 13
file content (20 lines) | stat: -rwxr-xr-x 418 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
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS  = hardening=+pie,+bindnow

CONFIGURE_FLAGS=
ifeq ($(DEB_HOST_ARCH_OS),linux)
	# pspax.c on Linux can use sys/capability.h
	# to get nice textual representations
	CONFIGURE_FLAGS += --with-caps
endif

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- \
		-Dlddtree_implementation=python \
		-Duse_seccomp=true \
		-Dbuild_manpages=enabled \
		-Dtests=true