X-Git-Url: https://git.deb.at/?a=blobdiff_plain;f=debian%2Frules;h=1ae31255517d40fcf24ad9254e0e6a61bba10656;hb=e7a838deb0eafa1276a944e57f3b309c4e1b9dd4;hp=63edcc94c7e1bb667bcfff5ca74a86409d1451ad;hpb=3e1c2cda0969c70d21ce76b8bd7cdc2895d35ab3;p=pkg%2Ft-prot.git diff --git a/debian/rules b/debian/rules index 63edcc9..1ae3125 100755 --- a/debian/rules +++ b/debian/rules @@ -1,7 +1,7 @@ #!/usr/bin/make -f # debian/rules for t-prot package -# Copyright 2002-2009 by Gerfried Fuchs -# Licenced BSD style +# Copyright 2002-2012 by Gerfried Fuchs +# Licenced under WTFPLv2 PKG = t-prot TMP = $(CURDIR)/debian/$(PKG) @@ -16,16 +16,20 @@ INSTALL_DIR = $(INSTALL) -p -d -oroot -groot -m755 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) @@ -58,7 +62,7 @@ install: build man/man1/t-prot.1 -binary-indep: build install +binary-indep: install $(checkdir) $(checkroot) $(INSTALL_DIR) $(TMP)/DEBIAN