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
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
# TODO: fix code instead!
export DEB_CFLAGS_MAINT_APPEND = -Wno-address-of-packed-member
# drop obsolete libtool linker files before debhelper notices and complains
execute_before_dh_install:
find debian/tmp -name '*.la' -print -delete
# Let d-shlibs calculate development package dependencies
# and handle shared library install
execute_after_dh_install:
d-shlibmove --commit \
--devunversioned \
--exclude-la \
--multiarch \
--movedev "debian/tmp/usr/include/*" usr/include/ \
--movedev "debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/pkgconfig/*" \
usr/lib/$(DEB_HOST_MULTIARCH)/pkgconfig \
debian/tmp/usr/lib/*/*.so
%:
dh $@ --with pkgkde_symbolshelper
|