Man Linux: Main Page and Category List


       dh_autoreconf - Call autoreconf -f -i and keep track of the changed


       dh_autoreconf [debhelper options] [-Xitem] [--mode=mode]
       [program -- params]


       dh_autoreconf is responsible for calling autoreconf and creating the
       files debian/autoreconf.before and debian/autoreconf.after which
       contain checksums of all files before/after the build. It is
       complemented by dh_autoreconf_clean which creates a list of all changed
       and added files and removes them.


       -Xitem --exclude=item
           Exclude files that contain "item" anywhere in their filename from
           being checked for changes. This means that those files won't be
           deleted by "dh_autoreconf_clean" even if there are changes. You may
           use this option multiple times to build up a list of things to

           Change the way in which modifications to files are detected. The
           default mode is md5 for using MD5 checksums, but there is also
           timesize for using the time of the last modification and the file

       program -- params
           Run the program given by program with the arguments given by params
           instead of autoreconf. If you need to run multiple commands, put
           them in a script and pass the script instead (or add a target to


       For each tool executed by autoreconf(1), one can export a variable with
       the uppercase name of the tool to the specific program which shall be
       run, including true to prevent the tool in question from being run. The
       following example shows the beginning of a debian/rules for a package
       where automake 1.10 shall be run instead of the default automake
       version and libtoolize shall not be run:

           #!/usr/bin/make -f
           export AUTOMAKE = automake1.10
           export LIBTOOLIZE = true


       debhelper(7), dh_autoreconf_clean(1), dh-autoreconf(7)


       Julian Andres Klode <>