X-Git-Url: https://git.deb.at/w?a=blobdiff_plain;f=debian%2Frules;h=4ef43b5f02e13ef897139345f6f919ef439cd9c1;hb=0981c53b0930fae7677558abfe16bd9c0114181b;hp=e43c585786cd1185a5fa3865c4cf3b03d1ef2284;hpb=a2f12f10589a04b48cafa947b645c6ec69ec2829;p=pkg%2Ft-prot.git diff --git a/debian/rules b/debian/rules index e43c585..4ef43b5 100755 --- a/debian/rules +++ b/debian/rules @@ -1,5 +1,7 @@ #!/usr/bin/make -f # debian/rules for t-prot package +# (c) 2002-2008 by Gerfried Fuchs +# Licenced in the same way as t-prot itself PKG = t-prot TMP = $(CURDIR)/debian/$(PKG) @@ -11,14 +13,18 @@ INSTALL_SCRIPT = $(INSTALL) -p -oroot -groot -m755 INSTALL_DIR = $(INSTALL) -p -d -oroot -groot -m755 -clean: +include /usr/share/quilt/quilt.make + +clean: unpatch $(checkdir) $(checkroot) - -rm -rf $(TMP) debian/files + -rm -rf $(TMP) debian/files build-stamp -build: +build-stamp: build +build: patch # uhm, build for a binary-indep package? Don't try to be funny ;) + touch build-stamp install: build @@ -32,7 +38,7 @@ install: build # usr/share/doc/$(PKG)/contrib $(INSTALL_SCRIPT) t-prot $(TMP)/usr/bin patch $(TMP)/usr/bin/t-prot \ - contrib/t-prot-r*-mutt157.diff + contrib/t-prot-r*-mutt15*.diff -rm -f $(TMP)/usr/bin/t-prot.orig $(INSTALL_FILE) t-prot.1 $(TMP)/usr/share/man/man1 $(INSTALL_FILE) debian/Muttrc $(TMP)/etc/t-prot