| 1 |
#!/usr/bin/make -f |
| 2 |
# debian/rules for the Debian libxext 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 = libxext6 |
| 12 |
|
| 13 |
export DEB_CFLAGS_MAINT_APPEND=-Wall |
| 14 |
|
| 15 |
%: |
| 16 |
dh $@ --builddirectory=build/ |
| 17 |
|
| 18 |
docflags = --docdir=/usr/share/doc/libxext-dev |
| 19 |
|
| 20 |
override_dh_auto_configure-arch: docflags += --disable-specs |
| 21 |
override_dh_auto_configure-indep: docflags += --enable-specs --with-xmlto --without-fop |
| 22 |
|
| 23 |
override_dh_auto_configure-arch override_dh_auto_configure-indep: |
| 24 |
dh_auto_configure -- $(docflags) |
| 25 |
|
| 26 |
override_dh_install: |
| 27 |
# Kill *.xml, we don't need them: |
| 28 |
find debian/tmp -name '*.xml' -delete |
| 29 |
find debian/tmp -name '*.db' -delete |
| 30 |
find debian/tmp -name '*.la' -delete |
| 31 |
dh_install |
| 32 |
|
| 33 |
override_dh_missing: |
| 34 |
dh_missing --fail-missing |
| 35 |
|
| 36 |
override_dh_makeshlibs: |
| 37 |
dh_makeshlibs -V"$(PACKAGE) (>= 2:1.3.0)" --add-udeb=$(PACKAGE)-udeb -- -c4 |