diff options
author | Toni Uhlig <matzeton@googlemail.com> | 2019-02-21 04:02:09 +0100 |
---|---|---|
committer | Toni Uhlig <matzeton@googlemail.com> | 2019-02-21 04:02:09 +0100 |
commit | 96bae72483b68894d53ff44add87347ef1481d0b (patch) | |
tree | 61f0650f215399aa67f77b8a0b93e04e13b6d89e | |
parent | 3f67c4bfced822c9bff41612d9a00091fd7868dc (diff) |
debian/rules: package systemd files
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
-rwxr-xr-x | debian/rules | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/debian/rules b/debian/rules index 2a24ea5..89a0767 100755 --- a/debian/rules +++ b/debian/rules @@ -8,4 +8,9 @@ LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS) dh $@ --with autoreconf override_dh_auto_build: - dh_auto_build -- CFLAGS="-Wall $(CFLAGS)" LDFLAGS="$(LDFLAGS)" CPPFLAGS="$(CPPFLAGS)" + dh_auto_build -- CFLAGS="-Wall -Werror $(CFLAGS)" LDFLAGS="$(LDFLAGS)" CPPFLAGS="$(CPPFLAGS)" + +override_dh_auto_install: + dh_auto_install + install -D -m644 contrib/ptunnel-ng.conf debian/ptunnel-ng/etc/conf.d/ptunnel-ng + install -D -m644 contrib/ptunnel-ng.service debian/ptunnel-ng/etc/systemd/system/ptunnel-ng.service |