2010-08-24 13:33:04 +00:00
|
|
|
#!/usr/bin/make -f
|
2017-08-07 07:55:28 +00:00
|
|
|
# You must remove unused comment lines for the released package.
|
|
|
|
# See debhelper(7) (uncomment to enable)
|
|
|
|
# This is an autogenerated template for debian/rules.
|
|
|
|
#
|
|
|
|
# Output every command that modifies files on the build system.
|
|
|
|
#export DH_VERBOSE = 1
|
|
|
|
|
|
|
|
DEBIAN := $(shell dpkg-parsechangelog | grep '^Version:' | cut -d' ' -f2)
|
2012-08-15 04:01:20 +00:00
|
|
|
DEBVERS := $(shell echo '$(DEBIAN)' | cut -d- -f1)
|
|
|
|
VERSION := $(shell echo '$(DEBVERS)' | sed -e 's/[+-].*//' -e 's/~//g')
|
|
|
|
|
2017-09-14 03:00:20 +00:00
|
|
|
CFLAGS += -g
|
|
|
|
|
2017-08-07 07:55:28 +00:00
|
|
|
# main packaging script based on dh7 syntax
|
2012-08-15 00:40:58 +00:00
|
|
|
%:
|
2018-09-10 10:46:47 +00:00
|
|
|
dh $@ --with autoreconf
|
2017-08-07 07:55:28 +00:00
|
|
|
|
|
|
|
# debmake generated override targets
|
|
|
|
# Set options for ./configure
|
|
|
|
#CONFIGURE_FLAGS = <options for ./configure>
|
|
|
|
#overrride_dh_configure:
|
|
|
|
# dh_configure -- $(CONFIGURE_FLAGS)
|
|
|
|
#
|
|
|
|
# Do not install libtool archive, python .pyc .pyo
|
|
|
|
#override_dh_install:
|
|
|
|
# dh_install --list-missing -X.la -X.pyc -X.pyo
|
2010-08-25 11:54:58 +00:00
|
|
|
|
2017-10-11 04:05:33 +00:00
|
|
|
override_dh_auto_test:
|
|
|
|
dh_auto_test || (find . -name testsuite.log -exec cat {} \; ; false)
|
|
|
|
|
2018-09-10 10:46:47 +00:00
|
|
|
override_dh_auto_configure:
|
2019-05-22 11:43:57 +00:00
|
|
|
dh_auto_configure -- --with-systemdsystemunitdir=/lib/systemd/system --enable-manuals
|
|
|
|
|
|
|
|
# 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
|
2018-09-10 10:46:47 +00:00
|
|
|
|
2017-08-07 07:55:28 +00:00
|
|
|
# See https://www.debian.org/doc/manuals/developers-reference/best-pkging-practices.html#bpp-dbg
|