#!/usr/bin/make -f
-include /usr/share/quilt/quilt.make
-
PACKAGE = $(shell dh_listpackages)
TMP = $(CURDIR)/debian/$(PACKAGE)
-build:
-
-clean: unpatch
- dh_testdir
- dh_testroot
- dh_clean
- rm -f install-stamp
+%:
+ dh $@ --with quilt
-install: patch build install-stamp
-install-stamp:
- dh_testdir
- dh_testroot
- dh_clean
- dh_installdirs
- find . -type f -not \( \
- -path '*/debian/*' -or \
- -path '*/doc/*' -or \
- -path '*/.git/*' -or \
- -path '*/.pc/*' -or \
- -name 'README' -or \
- -name 'config_example.php' \
- \) -exec install -D --mode=644 {} $(TMP)/usr/share/squirrelmail/plugins/change_pass/{} \;
+override_dh_install:
+ dh_install -Xconfig_example.php
install -D --mode=644 config_example.php $(TMP)/etc/squirrelmail/config_change_pass.php
- touch install-stamp
-
-binary-arch: build install
-
-binary-indep: build install
- dh_testdir
- dh_testroot
- dh_installdocs
- dh_installchangelogs
- dh_installexamples
- dh_link
- dh_compress
- dh_fixperms
- dh_installdeb
- dh_installdebconf
- dh_gencontrol
- dh_md5sums
- dh_builddeb
-
-binary: binary-indep binary-arch