File: rules

package info (click to toggle)
oath-toolkit 2.6.12-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 22,756 kB
  • sloc: ansic: 45,374; sh: 6,749; yacc: 1,853; xml: 1,842; makefile: 374
file content (23 lines) | stat: -rwxr-xr-x 576 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
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

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

%:
	dh $@ --builddirectory=build \
		-O--dbgsym-migration='oath-dbg (<< 2.6.1-2~)'

override_dh_autoreconf:
	GTKDOCIZE=true dh_autoreconf

override_dh_auto_configure:
	rm -f oathtool/oathtool_cmd.h pskctool/pskctool_cmd.h
	dh_auto_configure -- \
		--disable-rpath \
		--disable-gtk-doc \
		--with-pam-dir=/usr/lib/$(DEB_HOST_MULTIARCH)/security

override_dh_auto_install:
	dh_auto_install
	find debian/tmp -name "*.la" -exec rm -f {} +