File: rules

package info (click to toggle)
krb5-sync 3.1-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 2,556 kB
  • ctags: 796
  • sloc: sh: 11,750; ansic: 7,181; perl: 663; makefile: 138
file content (24 lines) | stat: -rwxr-xr-x 630 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

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

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

%:
	dh $@ --parallel --with autoreconf

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

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

override_dh_installchangelogs:
	dh_installchangelogs NEWS

override_dh_builddeb:
	dh_builddeb -- -Zxz