File: rules

package info (click to toggle)
intel-gpu-tools 1.17-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 12,772 kB
  • ctags: 23,533
  • sloc: ansic: 116,621; sh: 5,015; yacc: 2,780; makefile: 1,126; lex: 487; xml: 315; python: 119
file content (32 lines) | stat: -rwxr-xr-x 967 bytes parent folder | download | duplicates (3)
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

SOURCE = intel-gpu-tools

# FIXME: building debugger causes FTBFS
override_dh_auto_configure:
	dh_auto_configure -- --disable-shader-debugger --disable-dumper \
	                     --disable-tests --disable-silent-rules

# Disable test suite:
override_dh_auto_test:
	echo 'Test suite disabled (does not perform a build check).'

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

# Forget no-one:
override_dh_install:
	find debian/tmp -name '*.la' -delete
	dh_install --fail-missing

override_dh_strip:
	dh_strip --dbg-package=intel-gpu-tools-dbg

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

# For maintainer use only, generate a tarball:
gentarball: UV=$(shell dpkg-parsechangelog|awk '/^Version:/ {print $$2}'|sed 's/-.*$$//')
gentarball:
	git archive --format=tar upstream-unstable --prefix=$(SOURCE)-$(UV)/ | gzip -9 > ../$(SOURCE)_$(UV).orig.tar.gz