bug#7884: [PATCH] yacc: fix VPATH builds with FreeBSD make

2011-01-28 Thread Ralf Wildenhues
* Stefano Lattarini wrote on Fri, Jan 28, 2011 at 01:51:40PM CET: > On Thursday 27 January 2011, Ralf Wildenhues wrote: > > Does 'make -n' create files (for any target)? > > > No, and I've updated the `yaccdry.test' testcase to also check for this > (see attached amended patch). Thanks. > > How d

bug#7884: Yacc and FreeBSD make in VPATH builds

2011-01-28 Thread Stefano Lattarini
Hello automakers. JFTR: I've found a prior report of this same issue in the automake mailing list archives, and I think it could be useful to link it here, for completeness: Regards, Stefano

bug#7648: [PATCH] {yacc-work} yacc: extension of headers modelled after extension of sources

2011-01-28 Thread Stefano Lattarini
Hello automakers. The reasons of this patch should be explained in details in the ChangeLog entry (see below). OK for the 'yacc-work' branch? Regards, Stefano -*-*- With this change, if '-d' is in *YFLAGS, a yacc input file named foo.y++ will cause a foo.h++ header to be generated, instead

bug#7884: [PATCH] yacc: fix VPATH builds with FreeBSD make (was: Re: bug#7884: Yacc and FreeBSD make in VPATH builds)

2011-01-28 Thread Stefano Lattarini
On Thursday 27 January 2011, Ralf Wildenhues wrote: > Does 'make -n' create files (for any target)? > No, and I've updated the `yaccdry.test' testcase to also check for this (see attached amended patch). > How do you ensure in your patch that 'make distdir' does not create files? > Well, it does,

bug#7884: Yacc and FreeBSD make in VPATH builds

2011-01-28 Thread Stefano Lattarini
On Thursday 27 January 2011, Ralf Wildenhues wrote: > * Stefano Lattarini wrote on Thu, Jan 27, 2011 at 11:54:50AM CET: > > On Tuesday 25 January 2011, Ralf Wildenhues wrote: > > > * Stefano Lattarini wrote on Tue, Jan 25, 2011 at 08:52:56PM CET: > > > > Hmm... maybe a variation of this might be a

bug#7884: Yacc and FreeBSD make in VPATH builds

2011-01-28 Thread Ralf Wildenhues
* Stefano Lattarini wrote on Thu, Jan 27, 2011 at 08:26:42PM CET: > On Thursday 27 January 2011, Ralf Wildenhues wrote: > > I must admit that I still don't like this a lot. BSD is free software, > > we shouldn't have to put ugly workarounds in place for it, and this > > workaround does have some u

bug#7884: [PATCH] yacc: fix VPATH builds with FreeBSD make (was: Re: bug#7884: Yacc and FreeBSD make in VPATH builds)

2011-01-28 Thread Stefano Lattarini
On Thursday 27 January 2011, Stefano Lattarini wrote: > Also, I'm halfway through an automake patch on the lines I've sketched, > and I can say that it seems remarkably easy at this point ... > In fact it has been even easier than I thought, after the discovery that the same 'Automake::Variable::de

bug#7647: [PATCH] {maint} Warnings about primary/prefix mismatch fixed and extended. (was: Re: bug#7647: Diagnose invalid primary/directory combinations)

2011-01-28 Thread Stefano Lattarini
Ping on this? References: I've rebased the patch on latest maint, and improved the comments in the testcase `primary-prefix-documented-valid.test'. Below is what I've