diff options
| author | 2019-04-07 00:11:33 -0400 | |
|---|---|---|
| committer | 2019-04-07 00:14:14 -0400 | |
| commit | e835cd8d5dece7ff0183ede9df5b627494ed848b (patch) | |
| tree | 4e9a721f805a5921ac350f007e7db4b538bc3521 /debian/rules | |
| parent | 5140318f8f758141b4e350871db1fe869eb858dc (diff) | |
Import Debian changes 1.1.5-0vanir1debian/1.1.5-0vanir1
hopm (1.1.5-0vanir1) unstable; urgency=medium
* Initial release.
Diffstat (limited to 'debian/rules')
| -rwxr-xr-x | debian/rules | 21 |
1 files changed, 21 insertions, 0 deletions
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 |
