1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
|
#!/usr/bin/make -f
# DH_VERBOSE := 1
export DEB_BUILD_MAINT_OPTIONS = hardening=+all optimize=+lto
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
%:
dh $@
override_dh_auto_clean:
dh_auto_clean || /bin/true
override_dh_auto_install:
ln -s libtabixpp.so.* libtabixpp.so
cp tabix.hpp debian/tabix.hpp
d-shlibmove --commit \
--t64 \
--multiarch \
--devunversioned \
--movedev "*.hpp" usr/include/ \
libtabixpp.so
find debian -name "lib*.la" -delete
mv debian/tabix.hpp .
|