1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
|
#!/usr/bin/make -f
PACKAGE = $(shell dh_listpackages)
TMP = $(CURDIR)/debian/$(PACKAGE)
%:
dh $@
override_dh_install:
find . -type f -not \( \
-path '*/debian/*' -or \
-path '*/.pc/*' -or \
-name 'version' -or \
-name 'COPYING' -or \
-name 'INSTALL' -or \
-name 'README' -or \
-name 'make_release.sh' -or \
-name 'config.sample.php' \
\) -exec install -D --mode=644 {} $(TMP)/usr/share/squirrelmail/plugins/secure_login/{} \;
install -D --mode=644 config.sample.php $(TMP)/etc/squirrelmail/secure-login-config.php
dh_install
|