On 12/12/2012 08:57 AM, Steven W. Orr wrote:

>>
> 
> Hold on! A make clean should delete all derived files. y.tab.[ch] are
> derived and should be present in a clean sandbox.

Rather, 'make clean' should delete all derived files not present in a
tarball, and 'make maintainer-clean' should delete ALL derived files
that can be rebuilt but where the rebuild may require tools that aren't
required for the normal user building from a tarball.

Building from git is different than building from a tarball, and I argue
that there are derived files (such as y.tab.[ch]) that must exist in the
tarball but can be safe to omit from git, if we are willing to assume
that developers building from git can be assumed to have the maintainer
tools.  Treating git like building from a tarball is not necessarily
worth the headache.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to