File: rules

package info (click to toggle)
libxcb 1.13.1-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 3,364 kB
  • sloc: sh: 4,336; ansic: 3,093; python: 2,510; makefile: 417; perl: 85
file content (37 lines) | stat: -rwxr-xr-x 847 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
35
36
37
#!/usr/bin/make -f

%:
	dh $@ --builddirectory=build

override_dh_auto_configure:
	dh_auto_configure -- \
		--disable-silent-rules

override_dh_auto_test:
	dh_auto_test --max-parallel=1 -- VERBOSE=1

override_dh_makeshlibs:
	dh_makeshlibs -plibxcb1 --add-udeb=libxcb1-udeb -V'libxcb1 (>= 1.12)' -- -c4
	dh_makeshlibs -Nlibxcb1 -V -- -c4

override_dh_install:
	find debian/tmp -name '*.la' -delete
	rm -f debian/tmp/usr/include/xcb/ge.h
	rm -f debian/tmp/usr/include/xcb/xevie.h
	rm -f debian/tmp/usr/include/xcb/xprint.h
	rm -f debian/tmp/usr/include/xcb/xselinux.h
	dh_install

override_dh_installdocs: debian/copyright.debian COPYING
	cat $+ > debian/copyright
	dh_installdocs

override_dh_missing:
	dh_missing --fail-missing

override_dh_compress:
	dh_compress -X.png -X.html -X.map -X.css

override_dh_clean:
	dh_clean
	rm -f debian/copyright