2016-03-31 17:04:14 +00:00
|
|
|
#!/usr/bin/make -f
|
|
|
|
|
|
|
|
DEBIAN := $(shell dpkg-parsechangelog | grep ^Version: | cut -d' ' -f2)
|
|
|
|
DEBVERS := $(shell echo '$(DEBIAN)' | cut -d- -f1)
|
|
|
|
VERSION := $(shell echo '$(DEBVERS)' | sed -e 's/[+-].*//' -e 's/~//g')
|
|
|
|
|
|
|
|
#export DH_VERBOSE=1
|
|
|
|
export DEB_BUILD_HARDENING=1
|
|
|
|
|
|
|
|
|
|
|
|
%:
|
|
|
|
dh $@ --with=systemd --with autoreconf --fail-missing
|
|
|
|
|
|
|
|
override_dh_strip:
|
|
|
|
dh_strip --dbg-package=osmo-sip-connector-dbg
|
2018-09-10 11:54:05 +00:00
|
|
|
|
|
|
|
override_dh_auto_configure:
|
|
|
|
dh_auto_configure -- --with-systemdsystemunitdir=/lib/systemd/system
|