File: rules

package info (click to toggle)
libpciaccess 0.14-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 2,248 kB
  • sloc: ansic: 6,611; sh: 4,188; 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