#!/usr/bin/make -f # DH_VERBOSE := 1 export DEB_BUILD_MAINT_OPTIONS = hardening=+all %: 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_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 $(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 override_dh_fixperms: dh_fixperms chmod -x debian/codonw/usr/share/doc/codonw/examples/input.dat