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 26 27 28 29 30 31 32 33 34
|
#!/usr/bin/make -f
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
%:
dh $@ --with linktree
override_dh_auto_configure:
dh_auto_configure -- $(if $(filter librostlab-doc,$(shell dh_listpackages)),--enable-doxygen-dot --enable-doxygen-pdf)
override_dh_auto_build-indep:
$(MAKE) -C lib doxygen-doc
override_dh_install-arch:
dh_install
d-shlibmove --commit \
--t64 \
--multiarch \
--exclude-la \
--movedev debian/tmp/usr/include/* usr/include \
debian/tmp/usr/lib/*/*.so
find debian -name "lib*.la" -delete
override_dh_installdocs:
dh_installdocs
find debian -name "*_*.md5" -delete
override_dh_compress:
dh_compress -Xlibrostlab.tag
override_dh_missing:
dh_missing --list-missing
|