#!/usr/bin/make -f # DH_VERBOSE := 1 %: dh $@ override_dh_clean: rm -rf debian/man dh_clean --exclude=Makefile.orig override_dh_auto_clean: rm -rf *.o *.coa *.blk *.out *raw codonw codonW.log override_dh_auto_build: $(MAKE) codonw override_dh_installdocs: mkdir -p debian/codonw/usr/share/doc/codonw cp *.txt debian/codonw/usr/share/doc/codonw mkdir -p debian/codonw/usr/share/doc-base cp debian/doc-base debian/codonw/usr/share/doc-base/codonw-doc dh_installdocs -- override_dh_installman: mkdir -p $(CURDIR)/debian/man help2man -n 'Correspondence Analysis of Codon Usage' -N --help-option=-h \ --version-string=1.4.4 ./codonw > $(CURDIR)/debian/man/codonw.1 $(CURDIR)/debian/make_man.pl $(CURDIR)/debian/template.man \ $(CURDIR)/debian/man dh_installman -- override_dh_auto_install: mkdir -p debian/codonw/usr/bin cp codonw debian/codonw/usr/bin mkdir -p debian/codonw/usr/share/codonw cp codonW.hlp debian/codonw/usr/share/codonw chmod -x debian/codonw/usr/share/codonw/codonW.hlp