File: rules

package info (click to toggle)
spice-vdagent 0.22.1-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,196 kB
  • sloc: ansic: 8,317; sh: 1,480; makefile: 191
file content (25 lines) | stat: -rwxr-xr-x 686 bytes parent folder | download
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
#!/usr/bin/make -f
# -*- makefile -*-
# debian/rules for spice-vdagent

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

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 $@

execute_after_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