#!/usr/bin/make -f PACKAGE = $(shell dh_listpackages) TMP = $(CURDIR)/debian/$(PACKAGE) %: dh $@ override_dh_install: find . -type f -not \( \ -path '*/debian/*' -or \ -path '*/locales/*' -or \ -name 'version' -or \ -name 'COPYING' -or \ -name 'INSTALL' -or \ -name 'README' -or \ -name 'getpot' -or \ -name 'config.php.sample' \ \) -exec install -D --mode=644 {} $(TMP)/usr/share/squirrelmail/plugins/sent_confirmation/{} \; install -D --mode=644 config.php.sample $(TMP)/etc/squirrelmail/sent-confirmation-config.php dh_install