File: rules

package info (click to toggle)
libx11 2:1.6.4-3+deb9u1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 20,328 kB
  • sloc: ansic: 113,261; xml: 105,499; sh: 11,433; makefile: 2,151; perl: 352
file content (30 lines) | stat: -rwxr-xr-x 934 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
#!/usr/bin/make -f

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

override_dh_auto_configure-indep: docflags = --enable-specs --with-xmlto
override_dh_auto_configure-arch: docflags = --disable-specs

override_dh_auto_configure-indep override_dh_auto_configure-arch:
	dh_auto_configure -- \
		$(docflags) \
		--without-fop

override_dh_installdocs:
	dh_installdocs NEWS

override_dh_install:
	# Kill *.xml files, we don't need them:
	find debian/tmp -name '*.xml' -delete
	dh_install -plibx11-dev \
	           --exclude=usr/include/X11/Xlib-xcb.h
	dh_install -plibx11-doc \
	           --exclude=usr/include/X11/Xlib-xcb.h \
	           --exclude=usr/share/man/man3/XGetXCBConnection.3 \
	           --exclude=usr/share/man/man3/XSetEventQueueOwner.3
	dh_install --remaining-packages

override_dh_makeshlibs:
	dh_makeshlibs -s -plibx11-6 -V'libx11-6 (>= 2:1.6.0)' --add-udeb=libx11-6-udeb -- -c4
	dh_makeshlibs -s -Nlibx11-6 -- -c4