From e835cd8d5dece7ff0183ede9df5b627494ed848b Mon Sep 17 00:00:00 2001 From: Unit 193 Date: Sun, 7 Apr 2019 00:11:33 -0400 Subject: Import Debian changes 1.1.5-0vanir1 hopm (1.1.5-0vanir1) unstable; urgency=medium * Initial release. --- debian/rules | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100755 debian/rules (limited to 'debian/rules') diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..969a374 --- /dev/null +++ b/debian/rules @@ -0,0 +1,21 @@ +#!/usr/bin/make -f +#export DH_VERBOSE = 1 + +export DEB_BUILD_MAINT_OPTIONS = hardening=+all +export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed +export DEB_CPPFLAGS_MAINT_APPEND = -DHOPM_LOGDIR="\"$$(localstatedir)/log/hopm\"" + +%: + dh $@ + +override_dh_auto_configure: + dh_auto_configure -- --sysconfdir=/etc/hopm + +override_dh_install: + sed -e s@var/run/hopm.pid@/run/hopm/hopm.pid@ \ + -e s@var/log/scan.log@/var/log/hopm/scan.log@ \ + doc/reference.conf > debian/hopm/etc/hopm/hopm.conf + dh_install + +override_dh_installinit: + dh_installinit --no-enable -- cgit v1.2.3