1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
|
#!/usr/bin/make -f
# -*- makefile -*-
# debian/rules for spice-vdagent
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
export DEB_LDFLAGS_MAINT_APPEND=-Wl,--as-needed
override_dh_autoreconf:
dh_autoreconf --as-needed
override_dh_auto_install:
dh_auto_install --destdir=$(CURDIR)/debian/tmp
override_dh_auto_configure:
dh_auto_configure -- \
--with-init-script=systemd \
--enable-pie=yes \
--with-session-info=systemd \
--with-gtk=yes
%:
dh $@ --with systemd
override_dh_install:
dh_install
# We cannot add this to the .link file because dh_link is called after
# dh_systemd_* helpers during normal build
dh_link lib/systemd/system/spice-vdagentd.service lib/systemd/system/spice-vdagent.service
override_dh_missing:
dh_missing --list-missing
|