[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]