Package: dpatch Version: 2.0.29 Severity: minor Tags: patch Hello,
I've been told dpatch(1) has an example of how to change debian/rules. I learnt it from my sponsor, and I've noticed it's more hackish than necessary. This patch adds another option to the example using /usr/share/dpatch/dpatch.make. I've added it before the other example as I think people should use that one so that future improvements/fixes to the patch/unpatch targets in dpatch.make are automatically taken by the packages using it. Feel free to disagree with me and put it as a second example if you want. Best, Emilio
--- dpatch.1 2008-04-16 20:47:54.000000000 +0200
+++ dpatch.1.new2 2008-04-16 20:58:49.000000000 +0200
@@ -363,6 +363,26 @@ After dpatchifying, this would look like
.RS
.sp
.nf
+include /usr/share/dpatch/dpatch.make
+config.status: patch configure
+ ./configure \-\-prefix=/usr \-\-mandir=/usr/share
+build: config.status
+ ${MAKE}
+clean: unpatch
+ $(testdir)
+ $(testroot)
+ ${MAKE} distclean
+ rm \-rf debian/imaginary\-package debian/files debian/substvars
+
+.fi
+.sp
+.RE
+
+Another option would be:
+
+.RS
+.sp
+.nf
config.status: patch configure
./configure \-\-prefix=/usr \-\-mandir=/usr/share
build: config.status
signature.asc
Description: OpenPGP digital signature

