File: rules

package info (click to toggle)
libpciaccess 0.13.4-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 2,136 kB
  • ctags: 881
  • sloc: sh: 11,262; ansic: 6,516; makefile: 79
file content (19 lines) | stat: -rwxr-xr-x 453 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
#!/usr/bin/make -f

PACKAGE = libpciaccess0

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

override_dh_auto_configure:
	dh_auto_configure -- \
		--disable-silent-rules \
		--with-pciids-path=\$${prefix}/share/misc \
		--with-zlib

override_dh_install:
	find debian/tmp -type f -name *.la -delete
	dh_install --fail-missing

override_dh_makeshlibs:
	dh_makeshlibs -V'libpciaccess0 (>= 0.12.902)' --add-udeb=$(PACKAGE)-udeb -- -c4