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

Re: Autotools, CDBS, and handling generated files



Am 22.02.2011 13:01, schrieb Matt Kraai:
> Hi,
> 
> /usr/share/doc/autotools-dev/README.Debian.gz says that the best
> practice for handling files generated by Autoconf, Automake, and
> Libtool is to generate these files during the build process and make
> the clean target remove them.
> 
> /usr/share/doc/cdbs/cdbs-doc.html provides a facility for generating
> these files during the build process, but it says that use of this
> facility is *strongly* discouraged.
> 
> What is the best practice for a package that uses CDBS?

You might be interested in dh-autoreconf if you need to regenerate the build
system. It ships both a dh addon and a  cdbs rules file.
It also can take care of cleaning up the generated files.

Question is, why do you need to regenerate the build system? Are you patching
configure.ac/Makefile.am?

Michael

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: