1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
|
#!/usr/bin/make -f
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
%:
dh $@ --with autoreconf --with pkgkde_symbolshelper
override_dh_clean:
dh_clean -X.orig
# Weird hack to link with systems zlib.
execute_before_dh_auto_build:
sed -i "s@^LIBS =@LIBS = -lz@" bin/Makefile
override_dh_install:
chrpath -d debian/tmp/usr/bin/* debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/*so*
dh_install
override_dh_compress:
dh_compress -X.pdf
override_dh_auto_test:
: do nothing here, otherwise test suite is executed
|