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

Re: dh-autoreconf/autotools-dev questions



Oohara Yuuma <oohara@libra.interq.or.jp> writes:

> I am packaging a software which uses autoconf and automake.  I will
> regenerate all autotool files with dh-autoreconf.
> * The upstream tarball contains auto-generated files.  Do I have to
>   save these files somewhere before calling dh_autoreconf and restore
>   them in the clean target, or is it enough to remove auto-generated
>   files in the clean target so that they are regenerated again
>   in the build target?

Just call dh_autoreconf, nothing else to do.

It takes care of restoring the original state, whatever that may have
been. When using dh_autoreconf, it will _always_ regenerate the
appropriate files, so you don't need to prepare the tree for it.

-- 
|8]


Reply to: