* Dmitrijs Ledkovs <x...@debian.org>, 2012-05-31, 23:58:
-    dh $@
+    dh $@ --with autotools-dev,autoreconf

"dh_autoreconf is a superset of the autotools-dev debhelper addons, so you do not need --with=autotools_dev if you use --with=autoreconf. In fact, in most cases they should not be used together, as it may lead to unpredictable behaviour." (from dh-autoreconf(7) manpage)

I was not aware of this detail. My, wrong, understanding was that autootols-dev only replaced config.sub and config.guess, while autoreconf did autoconf, aclocal and etc. I did not know that autoreconf replaces config.sub/config.guess. I had a doubt when adding this ("do I need both?!"), but didn't check as I was not expecting it to cause harm.

As far as I understand it, dh_autoreconf doesn't do anything special to update config.{sub,guess}, other than calling autoreconf, which calls autoconf, which updates them if needed. Note that this package don't seem to use config.{sub,guess} at all, so the autotools-dev addon would be redundant anyway.

Should there be a lintian guard? Or warning?

It should be easy to implement to such a check in lintian.

--
Jakub Wilk



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to