This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
Re: Minor changes to lex.am and yacc.am
- From: Magnus Fromreide <magfr at lysator dot liu dot se>
- To: Alexandre Duret-Lutz <duret_g at lrde dot epita dot fr>
- Cc: <automake at gnu dot org>
- Date: Thu, 14 Feb 2002 21:40:13 +0100 (MET)
- Subject: Re: Minor changes to lex.am and yacc.am
On Thu, 14 Feb 2002, Alexandre Duret-Lutz wrote:
> When does this happens? I've tried to make a test case which
> use the following Makefile.am
>
> AUTOMAKE_OPTIONS = subdir-objects
> bin_PROGRAMS = foo
> foo_SOURCES = foo/parse.y
>
> but this raised another problem: the specific rule output to
> build foo/parse.c does not supports VPATH builds.
Yes, that is exactly the problem I saw. I was trying to build in a sibling
directory.
AUTOMAKE_OPTIONS = foreign
bin_PROGRAMS = prog
tvtwm_SOURCES = grammar.y lex.l
and then i had the source in path/src and built in path/build