File: rules

package info (click to toggle)
libxi 2%3A1.7.10-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 3,404 kB
  • sloc: xml: 9,446; ansic: 7,293; sh: 4,205; makefile: 246
file content (35 lines) | stat: -rwxr-xr-x 982 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
33
34
35
#!/usr/bin/make -f
# debian/rules for the Debian libxi package.
# Copyright © 2004 Scott James Remnant <scott@netsplit.com>
# Copyright © 2005 Daniel Stone <daniel@fooishbar.org>
# Copyright © 2005 David Nusinow <dnusinow@debian.org>

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

# set this to the name of the main shlib's binary package
PACKAGE = libxi6

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

override_dh_auto_configure:
	dh_auto_configure -- \
		--with-xmlto \
		--without-fop

override_dh_install:
	find $(CURDIR)/debian/tmp -name "*.la" -type f -delete
	find $(CURDIR)/debian/tmp -name "*.db" -type f -delete
	find $(CURDIR)/debian/tmp -name "*.xml" -type f -delete
	dh_install

override_dh_missing:
	dh_missing --fail-missing

override_dh_strip:
	dh_strip -p$(PACKAGE) --dbgsym-migration="$(PACKAGE)-dbg (<< 2:1.7.8-1~)"
	dh_strip -N$(PACKAGE)

override_dh_makeshlibs:
	dh_makeshlibs -V'libxi6 (>= 2:1.6.99.1)' --add-udeb=$(PACKAGE)-udeb -- -c4