[ragel-users] [PATCH] Fix out-of-tree builds for Ragel (from GIT).

Adrian Thurston thurston at complang.org
Fri Oct 23 01:33:14 UTC 2009


Applied (along with the other two). Thanks!

-Adrian

Diego Elio 'Flameeyes' Pettenò wrote:
> With this change, ragel can find the generated files even when doing
> out-of-tree builds.
> ---
>  ragel/Makefile.am |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/ragel/Makefile.am b/ragel/Makefile.am
> index beb1f9d..db3610c 100644
> --- a/ragel/Makefile.am
> +++ b/ragel/Makefile.am
> @@ -47,6 +47,6 @@ rlparse.cpp: rlparse.kl rlparse.kh
>  rlscan.cpp: rlparse.h
>  
>  rlscan.cpp: rlscan.rl
> -	ragel -G2 -o $@ $<
> +	ragel -G2 -I$(builddir) -o $@ $<
>  
>  endif




More information about the ragel-users mailing list