Package: dh-autoreconf
Version: 1
Severity: minor
Tags: patch
Hi,
when the dh command is accidently called with both the dh-autoreconf
and the autotools-dev addons enabled, e.g. "dh $@ --with
autoreconf,autotools-dev" the package source may be left in an
inconsistent state after building and cleaning. The reason is that
(probably depending on the order in which the addon rules are called)
dh-autoreconf replaces the config.{sub,guess} files that the
dh_autotools-dev* helpers are supposed to back up and restore.
Since dh-autoreconf does effectively *more* than the autotools-dev
addon, I'd suggest to disable the calling of dh_autotools-dev in the
autoreconf addon, e.g. via
remove_command("dh_autotools-dev_updateconfig")
Please find a patch attached that does exactly this.
- Fabian
--- dh-autoreconf-1.orig/autoreconf.pm
+++ dh-autoreconf-1/autoreconf.pm
@@ -6,4 +6,6 @@ use Debian::Debhelper::Dh_Lib;
insert_before("dh_auto_configure", "dh_autoreconf");
insert_before("dh_clean", "dh_autoreconf_clean");
+remove_command("dh_autotools-dev_updateconfig")
+
1;