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

Diego Elio 'Flameeyes' Pettenò flameeyes at gmail.com
Thu Oct 15 13:55:30 UTC 2009


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
-- 
1.6.5





More information about the ragel-users mailing list