diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2018-09-10 14:10:29 +0200 |
---|---|---|
committer | Pau Espin Pedrol <pespin@sysmocom.de> | 2018-09-13 12:06:08 +0200 |
commit | 422492998660ba40d3d7986fd43e1d7aafa3774a (patch) | |
tree | de0be8bc7dd9a2afcdae65c9ffe7b0d9547233ed /debian/rules | |
parent | ac1b03c8e59408336d07527e2597171cb99ed654 (diff) |
Install systemd services with autotools
Change-Id: I9bc40cf9e9a901d28d1f1629f6f1d55e8ba0c0b6
Diffstat (limited to 'debian/rules')
-rwxr-xr-x | debian/rules | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/debian/rules b/debian/rules index ef085960d..e37a26268 100755 --- a/debian/rules +++ b/debian/rules @@ -10,7 +10,7 @@ VERSION := $(shell echo '$(DEBVERS)' | sed -e 's/[+-].*//' -e 's/~//g') export DEB_BUILD_MAINT_OPTIONS = hardening=+all %: - dh $@ --sourcedirectory=openbsc --with autoreconf + dh $@ --sourcedirectory=openbsc --with=systemd --with autoreconf # This is needed for debian stable (squeeze) override_dh_autoreconf: @@ -25,7 +25,7 @@ override_dh_strip: override_dh_auto_configure: echo $(VERSION) > openbsc/.tarball-version - dh_auto_configure --sourcedirectory=openbsc -- --enable-nat --enable-osmo-bsc --enable-smpp + dh_auto_configure --sourcedirectory=openbsc -- --enable-nat --enable-osmo-bsc --enable-smpp --with-systemdsystemunitdir=/lib/systemd/system # Print test results in case of a failure override_dh_auto_test: |