Harald Welte | 08d88dd | 2019-04-03 09:09:49 +0200 | [diff] [blame] | 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | DEBIAN := $(shell dpkg-parsechangelog | grep ^Version: | cut -d' ' -f2) |
| 4 | DEBVERS := $(shell echo '$(DEBIAN)' | cut -d- -f1) |
| 5 | VERSION := $(shell echo '$(DEBVERS)' | sed -e 's/[+-].*//' -e 's/~//g') |
| 6 | |
| 7 | #export DH_VERBOSE=1 |
| 8 | export DEB_BUILD_MAINT_OPTIONS = hardening=+all |
| 9 | |
| 10 | |
| 11 | %: |
| 12 | dh $@ --with=systemd --with autoreconf --fail-missing |
| 13 | |
| 14 | override_dh_auto_configure: |
| 15 | dh_auto_configure -- --with-systemdsystemunitdir=/lib/systemd/system |
| 16 | |
| 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) |