File: rules

package info (click to toggle)
libpam-afs-session 2.6-5
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 2,684 kB
  • sloc: sh: 11,779; ansic: 7,910; perl: 270; makefile: 174
file content (25 lines) | stat: -rwxr-xr-x 758 bytes parent folder | download
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
#!/usr/bin/make -f

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

# 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) --with-krb5 \
	    --without-libkafs --with-aklog=/usr/bin/aklog

override_dh_auto_install:
	dh_auto_install
	rm debian/libpam-afs-session/usr/lib/*/security/*.la
	chmod 644 debian/libpam-afs-session/usr/lib/*/security/*.so
	install -d debian/libpam-afs-session/usr/share/pam-configs
	install -m 644 debian/pam-auth-update \
	    debian/libpam-afs-session/usr/share/pam-configs/afs-session