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


_______________________________________________
ragel-users mailing list
[email protected]
http://www.complang.org/mailman/listinfo/ragel-users

Reply via email to