File: rules

package info (click to toggle)
xsecurelock 1.5.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 1,108 kB
  • sloc: ansic: 4,343; sh: 1,609; makefile: 259
file content (44 lines) | stat: -rwxr-xr-x 921 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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#!/usr/bin/make -f
# -*- makefile -*-

# Use already defined upstream version as DEB_VERSION_UPSTREAM.
include /usr/share/dpkg/pkg-info.mk

export DH_VERBOSE=1

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@ --with autoreconf

override_dh_auto_configure:
	dh_auto_configure -- \
		--with-htpasswd=no \
		--with-mplayer=/usr/bin/mplayer \
		--with-mpv=/usr/bin/mpv \
		--with-pam \
		--with-pam-service-name=common-auth \
		--with-pamtester=no \
		--with-xcomposite \
		--with-xf86misc=no \
		--with-xfixes \
		--with-xft \
		--with-xkb \
		--with-xrandr \
		--with-xscreensaver=/usr/lib/xscreensaver \
		--with-xss \
		--with-xsync

override_dh_auto_build:
	GIT_VERSION="$(DEB_VERSION_UPSTREAM)" dh_auto_build

override_dh_autoreconf:
	dh_autoreconf ./autogen.sh

override_dh_auto_install:
	dh_auto_install
	find ./debian -type f -name "LICENSE" -delete

override_dh_auto_clean:
	dh_auto_clean
	-rm version.c