[Libguestfs] [PATCH] Fix out-of-tree build: Don't create empty .y file in builddir

Hilko Bengen bengen at hilluzination.de
Sun Dec 28 07:33:30 UTC 2014


---
 builder/Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/builder/Makefile.am b/builder/Makefile.am
index a0d139b..29f7556 100644
--- a/builder/Makefile.am
+++ b/builder/Makefile.am
@@ -309,7 +309,7 @@ CLEANFILES += \
 if HAVE_OCAML
 # Automake-generated makefile has a rule ".y.c" but lacks a rule ".y.h".
 index-parse.h: index-parse.y
-	touch index-parse.y
+	touch $(srcdir)/index-parse.y
 	$(MAKE) index-parse.c
 # Also it doesn't generate dependencies for the C files that include
 # index-parse.h.
-- 
2.1.4




More information about the Libguestfs mailing list