Package: dh-autoreconf
Version: 2
Severity: normal
Tags: patch

Hi,

the manpage contains a buggy dh --foo $@ example, which doesn't work
with debhelper (>= 8). The attached patch fixes that (and that syntax
was also OK with debhelper 7).

KiBi.
>From 3cc89b6fd8c1297a974251db9626346b60077986 Mon Sep 17 00:00:00 2001
From: Cyril Brulebois <k...@debian.org>
Date: Sat, 29 Jan 2011 01:40:40 +0100
Subject: [PATCH] dh-autoreconf.pod: Update rules example for debhelper 8.

Starting with debhelper 8, the sequence must be the first parameter,
options come afterwards (see debhelper's manual page).

Trying to ignore this leads to:
| dh: Unknown sequence --with=autoreconf (options should not come before the 
sequence)
---
 dh-autoreconf.pod |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dh-autoreconf.pod b/dh-autoreconf.pod
index 8d35a8c..586fec5 100644
--- a/dh-autoreconf.pod
+++ b/dh-autoreconf.pod
@@ -9,7 +9,7 @@ can be used in the following way:
 
     #!/usr/bin/make -f
     %:
-        dh --with autoreconf $@
+        dh $@ --with autoreconf
 
 This will call dh_autoreconf prior to dh_auto_configure and will call
 dh_autoreconf_clean before dh_clean.
-- 
1.7.2.3

Reply via email to