| 1 |
#!/usr/bin/make -f |
| 2 |
|
| 3 |
include /usr/share/dpkg/default.mk |
| 4 |
|
| 5 |
%: |
| 6 |
dh $@ |
| 7 |
|
| 8 |
# Configuration arguments |
| 9 |
CONFIG_ARGS = -Dpam=true -Dpam_modules_dir=/usr/lib/$(DEB_HOST_MULTIARCH)/security |
| 10 |
BUILDDIR = $(CURDIR)/obj-$(DEB_HOST_GNU_TYPE) |
| 11 |
|
| 12 |
ifeq ($(DEB_HOST_ARCH_OS),linux) |
| 13 |
CONFIG_ARGS += -Dsystemd_system_unit_dir=/usr/lib/systemd/system |
| 14 |
else |
| 15 |
CONFIG_ARGS += -Dsystemd=false |
| 16 |
endif |
| 17 |
|
| 18 |
ifneq (,$(filter fprintd-doc,$(shell dh_listpackages))) |
| 19 |
CONFIG_ARGS += -Dgtk_doc=true |
| 20 |
endif |
| 21 |
|
| 22 |
override_dh_auto_configure: |
| 23 |
dh_auto_configure -- $(CONFIG_ARGS) |
| 24 |
|