#!/usr/bin/make -f
# debian/rules for t-prot package
+# (c) 2002-2008 by Gerfried Fuchs <rhonda@debian.at>
+# Licenced in the same way as t-prot itself
PKG = t-prot
TMP = $(CURDIR)/debian/$(PKG)
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
# 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