File: rules

package info (click to toggle)
krb5-sync 3.1-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster
  • size: 2,560 kB
  • sloc: sh: 11,750; ansic: 7,181; perl: 663; makefile: 135
file content (21 lines) | stat: -rwxr-xr-x 532 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
#!/usr/bin/make -f

# Enable compiler hardening flags.
export DEB_BUILD_MAINT_OPTIONS = hardening=+bindnow,+pie

# Enable verbose test output.
export C_TAP_VERBOSE = 1

DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- --enable-reduced-depends \
	    --libdir=/usr/lib/$(DEB_HOST_MULTIARCH)

override_dh_auto_install:
	dh_auto_install
	rm debian/tmp/usr/lib/*/krb5/plugins/kadm5_hook/*.la
	chmod 644 debian/tmp/usr/lib/*/krb5/plugins/kadm5_hook/*.so