| 1 |
#!/usr/bin/make -f |
| 2 |
#export DH_VERBOSE = 1 |
| 3 |
|
| 4 |
export DEB_BUILD_MAINT_OPTIONS = hardening=+all |
| 5 |
export DEB_CPPFLAGS_MAINT_APPEND = -DHOPM_LOGDIR="\"$$(localstatedir)/log/hopm\"" |
| 6 |
|
| 7 |
%: |
| 8 |
dh $@ |
| 9 |
|
| 10 |
override_dh_auto_configure: |
| 11 |
dh_auto_configure -- --sysconfdir=/etc/hopm |
| 12 |
|
| 13 |
override_dh_install: |
| 14 |
sed -e s@var/run/hopm.pid@/run/hopm/hopm.pid@ \ |
| 15 |
-e s@var/log/scan.log@/var/log/hopm/scan.log@ \ |
| 16 |
doc/reference.conf > debian/hopm/etc/hopm/hopm.conf |
| 17 |
dh_install |
| 18 |
|
| 19 |
override_dh_installinit: |
| 20 |
dh_installinit --no-enable |
| 21 |
|
| 22 |
override_dh_installsystemd: |
| 23 |
dh_installsystemd --no-enable |