| 1 |
#!/usr/bin/make -f |
| 2 |
# debian/rules for the Debian libxaw 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 |
PACKAGE = libxaw |
| 11 |
|
| 12 |
%: |
| 13 |
dh $@ --with quilt --builddirectory=build/ |
| 14 |
|
| 15 |
docflags = --enable-specs |
| 16 |
|
| 17 |
override_dh_auto_configure-arch: docflags = --disable-specs |
| 18 |
override_dh_auto_configure-indep: docflags = --with-xmlto |
| 19 |
override_dh_auto_configure-arch override_dh_auto_configure-indep: |
| 20 |
dh_auto_configure -- \ |
| 21 |
--docdir=\$${datadir}/doc/libxaw7-dev \ |
| 22 |
--disable-xaw6 \ |
| 23 |
--without-fop \ |
| 24 |
--disable-silent-rules \ |
| 25 |
$(docflags) |
| 26 |
|
| 27 |
override_dh_install: |
| 28 |
find debian/tmp/ -name '*.la' -exec rm '{}' ';' |
| 29 |
dh_install |
| 30 |
|
| 31 |
override_dh_strip: |
| 32 |
dh_strip --dbgsym-migration='$(PACKAGE)-dbg (<< 2:1.0.14-1~)' |
| 33 |
|
| 34 |
override_dh_compress: |
| 35 |
dh_compress -X.xml |