#! /usr/bin/make -f # The options have been chooses as follows: # - manually set pamlibdir because we'Re installing in /usr by default but # pam libs must go to /lib/*/security # - Disable lto because this makes the build fail with static library # warnings and with linking errors. (It seems taht instead of ar/ld # gcc-ar and gcc should be used) # - tests disabled beacuase some of the tests seem to require elogind running. # Need to sort out which tests could be run CONFFLAGS = \ --with-pamlibdir=/lib/$(DEB_HOST_MULTIARCH)/security \ --disable-lto \ --disable-tests #autoreconf: # ./autogen.sh #override_dh_autoreconf: # dh_autoreconf debian/rules -- autoreconf override_dh_auto_configure: dh_auto_configure --builddirectory=build \ -- $(CONFFLAGS) %: dh $@ --builddirectory=build --with autoreconf --parallel