3 # The options have been chooses as follows:
4 # - manually set pamlibdir because we'Re installing in /usr by default but
5 # pam libs must go to /lib/*/security
6 # - Disable lto because this makes the build fail with static library
7 # warnings and with linking errors. (It seems taht instead of ar/ld
8 # gcc-ar and gcc should be used)
9 # - tests disabled beacuase some of the tests seem to require elogind running.
10 # Need to sort out which tests could be run
13 --with-pamlibdir=/lib/$(DEB_HOST_MULTIARCH)/security \
14 --with-udevrulesdir=/lib/udev/rules.d \
18 CONFFLAGS_CGROUPCTRL_ELOGIND= \
19 --with-cgroup-controller=elogind
21 override_dh_autoreconf:
22 dh_autoreconf ./autogen.sh
24 override_dh_auto_configure:
25 dh_auto_configure --builddirectory=build \
26 -- $(CONFFLAGS) $(CONFFLAGS_CGROUPCTRL_ELOGIND)
29 dh_missing --list-missing
31 override_dh_shlibdeps:
32 dh_shlibdeps -- -xlibeudev1
35 dh $@ --builddirectory=build --with autoreconf --parallel