GNOME Bugzilla – Bug 101421
[0.6.1] release needs bison/flex for configure but not build
Last modified: 2004-12-22 21:47:04 UTC
The release tar.gz files require bison and flex to configure, but do not technically need them to build.
Ok, I checked up on it. This is sort of a hard nut to crack :) * you are right that after make dist, the necessary code files are included * I've given it some thought and I really don't know how to distinguish between a configure run from a disted tarball and a cvs checkout. any ideas ?
IMO the files created by bison and flex should be removed from the tarball and should be generated by make. They should obviously be removed by make clean.
Created attachment 15470 [details] [review] patch to remove generated files on make clean
Fix in HEAD to remove the files on make clean or make dist. Somebody with more Makfile knowledge then me might want to review this. Marking as 0.6.1 candidate
In most projects, .y and .l files are converted in the dist stage, and the resulting tarball doesn't depend on bison or flex. This is how it works in 0.6.0 -- except that ./configure requires having bison and flex around for no real reason. I don't much care how it's done, and I've always thought that "maintainer mode" was rather dumb. I cleaned up Makefile.am.
Created attachment 15580 [details] [review] clean up Makefile.am
Applied.