#!/usr/bin/make -f # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 export DEB_BUILD_MAINT_OPTIONS=hardening=+all %: dh $@ override_dh_auto_configure: dh_auto_configure -- --includedir=/usr/include/sortmerna override_dh_clean: dh_clean rm -f index/.tobuild rm -f include/memcheck.h rm -rf tmp override_dh_auto_build: touch index/.tobuild dh_auto_build mkdir -p tmp cat debian/README_scripts.txt rRNA_databases/README.txt > tmp/README.txt # Uses old interface of skbio (see README.source) #override_dh_auto_test: #ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) # python3 ./tests/test_sortmerna.py #endif override_dh_auto_install: #Skip this - do it manually true override_dh_fixperms: dh_fixperms find debian/sortmerna -name '*.sh' -exec chmod +x '{}' ';' find debian/sortmerna -name '*.py' -exec chmod -x '{}' ';' override_dh_compress: dh_compress --exclude=.pdf