#!/usr/bin/make -f

#export DH_VERBOSE=1
export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@ --with autoreconf

override_dh_shlibdeps:
	dh_shlibdeps --dpkg-shlibdeps-params=--ignore-missing-info

override_dh_strip:
	dh_strip --dbg-package=osmo-hlr-dbg

# Print test results in case of a failure
override_dh_auto_test:


override_dh_auto_configure:
	dh_auto_configure -- --disable-doxygen --enable-sanitize --with-systemdsystemunitdir=/lib/systemd/system 

# Don't create .pdf.gz files (barely saves space and they can't be opened directly by most pdf readers)
override_dh_compress:
	dh_compress -X.pdf
