blob: a36fe36958a4b8d2dba9f7773dbcb93764024cf2 [file] [log] [blame]
Harald Welte08d88dd2019-04-03 09:09:49 +02001#!/usr/bin/make -f
2
3DEBIAN := $(shell dpkg-parsechangelog | grep ^Version: | cut -d' ' -f2)
4DEBVERS := $(shell echo '$(DEBIAN)' | cut -d- -f1)
5VERSION := $(shell echo '$(DEBVERS)' | sed -e 's/[+-].*//' -e 's/~//g')
6
7#export DH_VERBOSE=1
8export DEB_BUILD_MAINT_OPTIONS = hardening=+all
9
10
11%:
12 dh $@ --with=systemd --with autoreconf --fail-missing
13
14override_dh_auto_configure:
Harald Welte573ddfd2019-07-23 16:18:48 +000015 dh_auto_configure -- --with-systemdsystemunitdir=/lib/systemd/system --enable-manuals
Harald Welte08d88dd2019-04-03 09:09:49 +020016
17#override_dh_clean:
18# dh_clean
19# $(RM) tests/package.m4
20# $(RM) tests/testsuite
21
22# Print test results in case of a failure
23#override_dh_auto_test:
24# dh_auto_test || (find . -name testsuite.log -exec cat {} \; ; false)