#!/usr/bin/make -f # DH_VERBOSE := 1 include /usr/share/dpkg/default.mk export DEB_BUILD_MAINT_OPTIONS = hardening=+all %: dh $@ # pufferfish (and therefore this package) uses the traditional nucleotide # encoding; the define has to be used when compiling the library and by every # consumer, so it is also exported through sshash.pc. # # The command line tool and the upstream unit tests are built as well. override_dh_auto_configure: dh_auto_configure -- \ -DSSHASH_BUILD_EXECUTABLES=ON \ -DSSHASH_USE_TRADITIONAL_NUCLEOTIDE_ENCODING=ON execute_after_dh_installexamples: # Fix header pathes sed -i -e 's;"include/\(.*\.hpp\)";<\1>;' debian/*/usr/share/doc/*/examples/t*/*.[ch]pp # Move the shared library into the runtime package; d-shlibmove leaves the # static library for the development package. override_dh_auto_install: dh_auto_install d-shlibmove --commit \ --multiarch \ --devunversioned \ --exclude-la \ debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/libsshash.so