Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2 # debian/rules for the Debian libxi package.
3 # Copyright © 2004 Scott James Remnant <[email protected]>
4 # Copyright © 2005 Daniel Stone <[email protected]>
5 # Copyright © 2005 David Nusinow <[email protected]>
6
7 # Uncomment this to turn on verbose mode.
8 #export DH_VERBOSE=1
9
10 # set this to the name of the main shlib's binary package
11 PACKAGE = libxi6
12
13 %:
14 dh $@
15
16 override_dh_auto_configure:
17 dh_auto_configure -- \
18 --with-xmlto \
19 --without-fop
20
21 execute_before_dh_install:
22 find $(CURDIR)/debian/tmp -name "*.la" -type f -delete
23 find $(CURDIR)/debian/tmp -name "*.db" -type f -delete
24 find $(CURDIR)/debian/tmp -name "*.xml" -type f -delete
25
26 override_dh_strip:
27 dh_strip -p$(PACKAGE) --dbgsym-migration="$(PACKAGE)-dbg (<< 2:1.7.8-1~)"
28 dh_strip -N$(PACKAGE)
29
30 override_dh_makeshlibs:
31 dh_makeshlibs -V'libxi6 (>= 2:1.6.99.1)' --add-udeb=$(PACKAGE)-udeb -- -c4