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
|
#!/usr/bin/make -f
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
export DEB_BUILD_MAINT_OPTIONS=hardening=+all
export DOCBOOK_DSL=/usr/share/sgml/docbook/stylesheet/dsssl/modular/html/docbook.dsl
export CHANGELOG_DATE=$(shell dpkg-parsechangelog -S date)
%:
dh $@ --with autoreconf --with bash-completion
override_dh_autoreconf:
# gnome-doc generates so many portability warnings, ignore them:
dh_autoreconf autoreconf -- -i -f -Wno-portability
override_dh_auto_configure:
dh_auto_configure -- --disable-silent-rules --with-unixodbc=/usr --disable-scrollkeeper
override_dh_auto_install:
# see http://bugs.debian.org/619683
dh_auto_install
for file in debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/*.la; do \
sed -i "/dependency_libs/ s/'.*'/''/" $$file ; \
done
override_dh_strip:
dh_strip --dbg-package=mdbtools-dbg
|