#!/usr/bin/make -f PACKAGE = $(shell dh_listpackages) TMP = $(CURDIR)/debian/$(PACKAGE) %: dh $@ override_dh_auto_install: dh_auto_install file-rename 's/\.pl//' $(TMP)/usr/bin/*.pl file-rename 's/\.pl//' $(TMP)/usr/share/man/man1/*