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

Re: dh-autoreconf/autotools-dev questions



Jakub Wilk <jwilk@debian.org> writes:

> * Gergely Nagy <algernon@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]


Reply to: