File: rules

package info (click to toggle)
pam-python 1.1.0~git20220701.1d4e111-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 688 kB
  • sloc: ansic: 2,536; python: 722; makefile: 111; sh: 2
file content (23 lines) | stat: -rwxr-xr-x 495 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 DH_VERBOSE=1

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

include /usr/share/dpkg/architecture.mk

export LIBDIR = /usr/lib/$(DEB_HOST_MULTIARCH)/security

%:
	dh $@ --with python3 --system=pybuild

override_dh_install:
	mv debian/tmp/usr/share/doc/pam_python debian/tmp/usr/share/doc/libpam-python
	dh_install

override_dh_auto_test:
	:

.PHONY: get-orig-source
get-orig-source:
	uscan --noconf --force-download --rename --download-current-version --destdir=..