[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] automake rules fail to make y.tab.h if y.tab.c exists
From: |
Bernd Jendrissek |
Subject: |
Re: [PATCH] automake rules fail to make y.tab.h if y.tab.c exists |
Date: |
Thu, 6 Jun 2002 16:12:19 +0200 |
On Wed, Jun 05, 2002 at 08:21:21PM +0200, Bernd Jendrissek wrote:
> On Wed, Jun 05, 2002 at 06:41:50PM +0200, Alexandre Duret-Lutz wrote:
[snip]
> > I have a pending patch for this at
> > http://mail.gnu.org/pipermail/automake-patches/2002-May/000823.html
> >
> > Basically, it just replaces the `y.tab.h: y.tab.c' dependency by
> >
> > y.tab.h: y.tab.c
> > if test ! -f $@; then \
> > rm -f y.tab.c; \
> > $(MAKE) y.tab.c; \
> > fi
[snip]
> I'll play around with this patch against my (real) flex/bison parser and
> shout loudly in the list if I have problems. But consider me happy.
Yep, seems to work. (I have an unstable tree ATM that doesn't link, but
it's unrelated to any automake/yacc issues.)
bernd