2 # See debhelper(7) (uncomment to enable)
3 # output every command that modifies files on the build system.
6 include /usr
/share
/dpkg
/pkg-info.mk
9 export PMGVERSION
= $(DEB_VERSION_UPSTREAM_REVISION
)
10 export PMGRELEASE
= $(shell echo
$(DEB_VERSION_UPSTREAM
) | cut
-c
1-3)
12 include debian
/rules.env
13 export REPOID
=${REPOID_GENERATED}
18 override_dh_installsystemd
:
19 dh_installsystemd
--no-start
--no-stop-on-upgrade \
22 pmgspamreport.service \
24 pmgnetcommit.service \
28 pmg-smtp-filter.service \
36 dh_installsystemd
--no-enable
--name
=pmg-pbsbackup@ pmg-pbsbackup@.service
37 # we handle pmgproxy/pmgdaemon manually (use reload instead of restart to keep vnc connection active)
38 dh_installsystemd
--no-start
--no-stop-on-upgrade pmgdaemon.service pmgproxy.service
41 dh_fixperms
--exclude
/var
/log
/pmgproxy