dh-autoreconf - Automagical autoreconf for debhelper

Status License Language Bug Tracking VCS Latest release
Stable GPL-2+ Perl Debian BTS git.debian.org Version 5 (Oct 2011)

dh-autoreconf provides easy integration of autoreconf with debhelper and tools such as dh and cdbs. It creates a list of all files and their checksums in the build tree, runs autoreconf, and then removes all files changed by the autoreconf run during clean. This enables you to run autoreconf at build-time without having to worry about file changes which break rebuilds and similar things.

dh-autoreconf can also automatically patch ltmain.sh to add support for the -Wl,–as-needed option to libtool. Despite the name and those autotools-specific features, dh-autoreconf is not specific to autotools and can be used with almost any program which modifies the build tree (as long as the files it changes/adds can be safely removed).