Patch Makefile.in/Make-lang.in: create bison files atomically
Fri Oct 13 18:27:00 GMT 2000
On Fri, Oct 13, 2000 at 10:48:49PM -0200, Alexandre Oliva wrote:
> On Oct 13, 2000, "Zack Weinberg" <firstname.lastname@example.org> wrote:
> > Wouldn't it be better to just create the parser files in the build
> > directory?
> But what if srcdir == builddir?
No problem, unless you try to build two different configurations with
srcdir == builddir, in which case you're hosed before you even start.
> What if they're in different filesystems and `mv' won't move across
Who said anything about 'mv'? Use bison -o and drop the output files
straight into the build directory. (byacc has -o too, these days.)
I know this works, because the red hat internal tree does it already.
More information about the Gcc-patches