Jakub Wilk <jw...@debian.org> writes:

> * Gergely Nagy <alger...@balabit.hu>, 2011-08-16, 16:16:
>>>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.
>
> Err... from the manual pages:
>
> dh_autoreconf - Call autoreconf -f -i and keep track of the changed files
> dh_autoreconf_clean - Clean all changes made by dh_autoreconf

dh $@ --with autoreconf does the right thing. But you're correct, one
does need to call dh_autoreconf_clean in the clean target too.

But apart from this two (which I erroneously shortened to "call
dh_autoreconf"), there's no other preparation neccessary.

-- 
|8]


-- 
To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87ty9hmm1a....@balabit.hu

Reply via email to