Harald Welte | 95fac3a | 2018-08-26 10:07:21 +0200 | [diff] [blame] | 1 | #!/usr/bin/make -f |
| 2 | |
Oliver Smith | 71cfc2b | 2019-11-28 11:21:12 +0100 | [diff] [blame] | 3 | # Uncomment this to turn on verbose mode. |
| 4 | #export DH_VERBOSE=1 |
| 5 | |
| 6 | DEBIAN := $(shell dpkg-parsechangelog | grep ^Version: | cut -d' ' -f2) |
| 7 | DEBVERS := $(shell echo '$(DEBIAN)' | cut -d- -f1) |
| 8 | VERSION := $(shell echo '$(DEBVERS)' | sed -e 's/[+-].*//' -e 's/~//g') |
| 9 | |
| 10 | export DEB_BUILD_MAINT_OPTIONS = hardening=+all |
| 11 | |
| 12 | export DEB_LDFLAGS_MAINT_STRIP = -Wl,-Bsymbolic-functions |
| 13 | |
| 14 | |
Harald Welte | 95fac3a | 2018-08-26 10:07:21 +0200 | [diff] [blame] | 15 | %: |
| 16 | dh $@ |
Oliver Smith | 71cfc2b | 2019-11-28 11:21:12 +0100 | [diff] [blame] | 17 | |
| 18 | override_dh_autoreconf: |
| 19 | cd host && dh_autoreconf |