File: rules

package info (click to toggle)
xserver-xorg-video-qxl 0.1.4%2B20161126git4d7160c-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 1,152 kB
  • ctags: 1,703
  • sloc: ansic: 17,184; python: 358; makefile: 153; sh: 7
file content (34 lines) | stat: -rwxr-xr-x 960 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
26
27
28
29
30
31
32
33
34
#!/usr/bin/make -f

DEB_HOST_GNU_TYPE := $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
VIDEODEP = $(shell cat /usr/share/xserver-xorg/videodrvdep 2>/dev/null)

override_dh_auto_build:
	dh_auto_build -- V=1

override_dh_strip:
	dh_strip --dbgsym-migration='xserver-xorg-video-qxl-dbg (<< 0.1.4+20161126git4d7160c)'

# Install in debian/tmp to retain control through dh_install:
override_dh_auto_install:
	dh_auto_install --destdir=debian/tmp

# Kill *.la files, and forget no-one:
override_dh_install:
	find debian/tmp -name '*.la' -delete
	-rm -r debian/tmp/usr/share
	dh_install --fail-missing

# That's a plugin, use appropriate warning level:
override_dh_shlibdeps:
	dh_shlibdeps -- --warnings=6

override_dh_xsf_substvars:
	echo "xviddriver:Depends=$(VIDEODEP)" >> debian/xserver-xspice.substvars
	dh_xsf_substvars

override_dh_auto_configure:
	dh_auto_configure -- --libdir=/usr/lib

%:
	dh $@ --with quilt,autoreconf,xsf,python2 --builddirectory=build/