X-Git-Url: http://www.privoxy.org/gitweb/?a=blobdiff_plain;f=debian%2Frules;h=8f6c4a54aaf803f60dc7385981a7939b177f6c32;hb=dfd5a3ced69851300f203f904334d3e44b004176;hp=d30d495845f59d76db6edd0ba0c400573b08c34a;hpb=3445ac73d9a18f4df13df1f40682a884ccebd572;p=privoxy.git diff --git a/debian/rules b/debian/rules index d30d4958..8f6c4a54 100755 --- a/debian/rules +++ b/debian/rules @@ -14,6 +14,9 @@ DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) DEBDIR=`pwd`/debian/privoxy +# Include dpatch stuff. +include /usr/share/dpatch/dpatch.make + OPTIMIZE= ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) OPTIMIZE=-O0 @@ -135,16 +138,6 @@ binary-arch: build-stamp install dh_md5sums dh_builddeb -patch: patch-stamp -patch-stamp: - dpatch apply-all - touch patch-stamp - #dpatch call-all -a=pkg-info >patch-stamp - -unpatch: - dpatch deapply-all - rm -rf patch-stamp debian/patched - binary: binary-indep binary-arch .PHONY: build clean binary-indep binary-arch binary install patch unpatch \