File: rules

package info (click to toggle)
pam-wrapper 1.1.7-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 672 kB
  • sloc: ansic: 4,967; python: 126; makefile: 13
file content (20 lines) | stat: -rwxr-xr-x 439 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
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

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

%:
	dh $@ --with python3 --builddirectory=build/

override_dh_clean:
	dh_clean
	rm -f compile_commands.json

override_dh_auto_configure:
	dh_auto_configure -- \
		-DLIB_INSTALL_DIR=/usr/lib/$(DEB_HOST_MULTIARCH) \
		-DCMAKE_BUILD_RPATH_USE_ORIGIN=ON

override_dh_missing:
	dh_missing --fail-missing