From 96bae72483b68894d53ff44add87347ef1481d0b Mon Sep 17 00:00:00 2001 From: Toni Uhlig Date: Thu, 21 Feb 2019 04:02:09 +0100 Subject: debian/rules: package systemd files Signed-off-by: Toni Uhlig --- debian/rules | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'debian') 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 -- cgit v1.2.3