File: rules

package info (click to toggle)
p11-kit 0.24.1-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 8,488 kB
  • sloc: ansic: 63,353; sh: 5,631; xml: 1,607; makefile: 1,009; sed: 16
file content (28 lines) | stat: -rwxr-xr-x 675 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
22
23
24
25
26
27
28
#!/usr/bin/make -f

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

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

override_dh_auto_configure:
	dh_auto_configure --verbose -- \
		--disable-silent-rules \
		--with-trust-paths=/etc/ssl/certs/ca-certificates.crt \
		--with-hash-impl=internal --enable-doc

override_dh_makeshlibs:
	# Force keeping symbol file up to date.
	dh_makeshlibs \
		-Xusr/lib/$(DEB_HOST_MULTIARCH)/pkcs11/p11-kit-trust.so -- -c4

override_dh_link:
	rm -rf debian/libp11-kit0-dbg/usr/share/doc/libp11-kit0-dbg \
		debian/p11-kit-modules/usr/share/doc/p11-kit-modules
	dh_link

override_dh_missing:
	dh_missing --list-missing

%:
	dh $@