File: rules

package info (click to toggle)
xserver-xorg-video-amdgpu 1.2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 2,312 kB
  • ctags: 1,103
  • sloc: ansic: 9,147; sh: 4,130; makefile: 81; perl: 62
file content (32 lines) | stat: -rwxr-xr-x 649 bytes parent folder | download | duplicates (2)
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
#DH_VERBOSE = 1

DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/default.mk

XXV=xserver-xorg-video

override_dh_auto_configure:
	dh_auto_configure --builddirectory=build/ -- \
		--libdir=/usr/lib \
		--disable-silent-rules

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

# Debug packages:
override_dh_strip:
	dh_strip -p$(XXV)-amdgpu --dbg-package=$(XXV)-amdgpu-dbg

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

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