Re: Include bison-generated files in package?
On Fri, 4 Jan 2002, Brett Cundal wrote:
> I'm working on a package that includes a .tab.c file generated by
> So, what's wrong with this picture? Should I build-depend on bison and
> generate the file in the build target, or should I modify the makefile
> to not delete the generated file? Both seem ugly to me. Is there
> something else I should do?
Usually, you don't delete bison generated files on distclean, because you
might be compiling on a system that doesn't have bison installed. So
removing the rule that deletes it (and sending the patch upstream) looks
best to me.
GPG public key available from http://phobos.fs.tum.de/pgp/Simon.Richter.asc
Fingerprint: DC26 EB8D 1F35 4F44 2934 7583 DBB6 F98D 9198 3292
Hi! I'm a .signature virus! Copy me into your ~/.signature to help me spread!