#!/usr/bin/make -f export DEB_BUILD_MAINT_OPTIONS = hardening=+all # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 include /usr/share/dpkg/default.mk DATE=$(shell date --date=@$(SOURCE_DATE_EPOCH) '+%d %B %Y') HHMANPAGES = hhalign.1 hhblits.1 hhblits_omp.1 hhconsensus.1 hhfilter.1 hhmake.1 hhsearch.1 export n_hhalign=align a query alignment/HMM to a template alignment/HMM export n_hhblits=fast homology detection method to iteratively search a HMM database export n_hhblits_omp=fast homology detection method to iteratively search a HMM database export n_hhconsensus=calculate the consensus sequence for an A3M/FASTA input file export n_hhfilter=filter an alignment by maximum sequence identity of match states and minimum coverage export n_hhmake=build an HMM from an input alignment or convert between HMMER format and HHsearch format export n_hhsearch=search a database of HMMs with a query alignment or query HMM hhmanpages: $(HHMANPAGES) override_dh_installman: $(HHMANPAGES) dh_installman $(HHMANPAGES): %.1 : debian/tmp/usr/bin/% unset LD_PRELOAD && export LD_LIBRARY_PATH=debian/tmp/usr/lib && export HHLIB=. && help2man --no-info --help-option '-h all' --version-string $(DEB_VERSION_UPSTREAM) -n "$$n_$*" '$<' | sed -e 's/\(^\|[^\]\)-/\1\\-/g;' > '$@' override_dh_auto_clean: dh_auto_clean rm -f $(HHMANPAGES) find . -name "*.rej" -delete find . -name "*~" -delete dh_clean override_dh_auto_build: dh_auto_build -- NO_PNG=1 %: dh $@ --builddirectory=mybuild