#!/usr/bin/make -f #export DH_VERBOSE = 1 %: dh $@ --with bash-completion override_dh_clean: dh_clean # moves file back as in upstream source [ -f bash-completion-eg.sh ] || mv debian/easygit.bash-completion \ bash-completion-eg.sh && chmod +x bash-completion-eg.sh override_dh_bash-completion: # moves the bash completion file to debian/ with the proper name and # fix file permission e.g. removes exec perm [ -f debian/easygit.bash-completion ] || mv bash-completion-eg.sh \ debian/easygit.bash-completion && chmod -x debian/easygit.bash-completion dh_bash-completion