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

Re: Include bison-generated files in package?



On Sun, Jan 06, 2002 at 08:55:38PM +0100, Gergely Nagy wrote:
> > make distclean should not delete the files in the first place.  The
> > distclean target should remove only generated files which are not included
> > in the distribution (such as object code), and since this bison output is
> > rightly included in the distribution, it should be left alone.
> 
> But it is a generated file, which shouldn't be included in the
> tarball, 

No.  Being "generated" is not the criterion used to determine what is
distributed or not.  The file "configure" is both generated and
distributed.  YACC output is generally treated in the same manner.

Ask yourself: is there any benefit from having the installer
convert the yacc input to C code?  No, there isn't.  So authors
tend to distribute the yacc-generated files (and the yacc input
files, too --- in case someone wants to modify them).


-Steve

-- 
by Rocket to the Moon,
by Airplane to the Rocket,
by Taxi to the Airport,
by Frontdoor to the Taxi,
by throwing back the blanket and laying down the legs ...
- They Might Be Giants



Reply to: