#!/usr/bin/make -f
# debian/rules for t-prot package
-# Copyright 2002-2009 by Gerfried Fuchs <rhonda@debian.at>
+# Copyright 2002-2012 by Gerfried Fuchs <rhonda@debian.org>
# Licenced under WTFPLv2
PKG = t-prot
clean:
$(checkdir)
$(checkroot)
- -rm -rf $(TMP) debian/files build-stamp
+ -rm -rf $(TMP) debian/files debian/stamp-*
+ $(MAKE) -f /usr/share/quilt/quilt.make unpatch
+build: build-arch build-indep
+build-arch: debian/stamp-build
+build-indep: debian/stamp-build
+debian/stamp-build:
+ # only thing to do is apply the patches ...
+ $(MAKE) -f /usr/share/quilt/quilt.make patch
+ touch debian/stamp-build
-build-stamp: build
-build:
- # uhm, build for a binary-indep package? Don't try to be funny ;)
- touch build-stamp
-
-install: build
+install: debian/stamp-install
+debian/stamp-install: build
$(checkdir)
$(checkroot)
-rm -rf $(TMP)
man/man1/t-prot.1
-binary-indep: build install
+binary-indep: install
$(checkdir)
$(checkroot)
$(INSTALL_DIR) $(TMP)/DEBIAN