X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?p=squirrelmail-change-pass.git;a=blobdiff_plain;f=debian%2Frules;h=8167c7b4b92ead36ad4241f02af2a7f2490d65d9;hp=e8ca15f5ab46d405a9abfeb222036bc74726479b;hb=af3027217202d56a234abcb4c9f23f8cd2a286e1;hpb=81700ee062b17efc55a20ac954d027f2758a8875 diff --git a/debian/rules b/debian/rules index e8ca15f..8167c7b 100755 --- a/debian/rules +++ b/debian/rules @@ -3,45 +3,9 @@ PACKAGE = $(shell dh_listpackages) TMP = $(CURDIR)/debian/$(PACKAGE) -build: +%: + dh $@ --with quilt -clean: - dh_testdir - dh_testroot - dh_clean - rm -f install-stamp - -install: 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 \ - -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