[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#575938: ITP: dh-autoreconf -- debhelper add-on to call autoreconf and clean up after the build



On Wed, Mar 31, 2010 at 03:13:14PM +0200, Mehdi Dogguy wrote:
> Paul Wise wrote:
> > On Wed, Mar 31, 2010 at 1:03 AM, Julian Andres Klode <jak@debian.org> wrote:
> > 
> >>>   Description     : debhelper add-on to call autoreconf and clean up after the build
> >>>
> >>> Package: dh-autoreconf
> > 
> > I'd suggest just putting this into debhelper rather than making it a
> > separate package.
> > 
> 
> Is there any advantage to have it packaged?
> 
> AIUI, you have to add a build-dependency anyway and change at least one
> line in the debian/rules to call dh-autoreconf. Well, that line could
> simply call autoreconf (or whatever) which even makes debian/rules clearer.

The difference is that dh_autoreconf calls autoreconf and stores a list
of the changes and the changed files are then removed in the clean
target. If you just call autoreconf, the changes end up in the diff;
and this is not what we want.

BTW; The code is now available at
  http://git.debian.org/?p=collab-maint/dh-autoreconf.git
and also features a CDBS rule for those maintainers still
using it and a --mode parameter with a 'timesize' mode to
use size+timestamp instead of an md5sum to detect changes.

-- 
Julian Andres Klode  - Debian Developer, Ubuntu Member

See http://wiki.debian.org/JulianAndresKlode and http://jak-linux.org/.

Attachment: pgpxMTDBk6UOK.pgp
Description: PGP signature


Reply to: