File: rules

package info (click to toggle)
fprintd 1.94.5-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,412 kB
  • sloc: ansic: 4,900; python: 3,587; xml: 687; sh: 34; makefile: 15
file content (24 lines) | stat: -rwxr-xr-x 526 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
#!/usr/bin/make -f

include /usr/share/dpkg/default.mk

%:
	dh $@

# Configuration arguments
CONFIG_ARGS = -Dpam=true -Dpam_modules_dir=/usr/lib/$(DEB_HOST_MULTIARCH)/security
BUILDDIR = $(CURDIR)/obj-$(DEB_HOST_GNU_TYPE)

ifeq ($(DEB_HOST_ARCH_OS),linux)
	CONFIG_ARGS += -Dsystemd_system_unit_dir=/usr/lib/systemd/system
else
	CONFIG_ARGS += -Dsystemd=false
endif

ifneq (,$(filter fprintd-doc,$(shell dh_listpackages)))
	CONFIG_ARGS += -Dgtk_doc=true
endif

override_dh_auto_configure:
	dh_auto_configure -- $(CONFIG_ARGS)