#!/usr/bin/make -f # -*- makefile -*- # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 export DH_ALWAYS_EXCLUDE=.gitignore export DEB_BUILD_MAINT_OPTIONS = hardening=+all mandir := $(CURDIR)/debian/man %: dh $@ --with autoreconf override_dh_install: dh_install d-shlibmove --commit \ --multiarch \ --exclude-la \ --movedev "debian/tmp/usr/include/snp-sites/*.h" usr/include/snp-sites \ debian/tmp/usr/lib/*/libsnp-sites.so override_dh_installman: mkdir -p $(mandir) asciidoctor -a docdate='' -b manpage $(CURDIR)/snp-sites.txt mv $(CURDIR)/snp-sites.1 $(mandir) dh_installman --