2010-08-24 13:33:04 +00:00
|
|
|
#!/usr/bin/make -f
|
2012-08-15 00:40:58 +00:00
|
|
|
%:
|
2018-09-10 11:00:44 +00:00
|
|
|
dh $@ --with autoreconf
|
2013-12-12 12:07:47 +00:00
|
|
|
|
2023-07-11 10:34:49 +00:00
|
|
|
CONFIGURE_FLAGS += \
|
|
|
|
--enable-manuals \
|
|
|
|
--enable-meas-vis \
|
|
|
|
--with-systemdsystemunitdir=/lib/systemd/system \
|
|
|
|
$(NULL)
|
|
|
|
|
2012-08-15 00:40:58 +00:00
|
|
|
override_dh_auto_configure:
|
2017-08-07 07:57:20 +00:00
|
|
|
dh_auto_configure -- $(CONFIGURE_FLAGS)
|
2010-08-24 13:33:04 +00:00
|
|
|
|
2017-08-07 07:57:20 +00:00
|
|
|
# See https://www.debian.org/doc/manuals/developers-reference/best-pkging-practices.html#bpp-dbg
|
|
|
|
override_dh_strip:
|
2017-10-28 11:33:47 +00:00
|
|
|
dh_strip -posmo-bsc --dbg-package=osmo-bsc-dbg
|
2017-10-11 05:10:15 +00:00
|
|
|
|
|
|
|
# Print test results in case of a failure
|
|
|
|
override_dh_auto_test:
|
|
|
|
dh_auto_test || (find . -name testsuite.log -exec cat {} \; ; false)
|
2019-05-21 13:21:43 +00:00
|
|
|
|
|
|
|
# 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
|