[Libguestfs] [PATCH 2/3] out-of-tree build: fix HAVE_OCAML=false case

Hilko Bengen bengen at hilluzination.de
Thu Oct 20 12:20:55 UTC 2011


---
 generator/Makefile.am |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/generator/Makefile.am b/generator/Makefile.am
index 51a9462..44c0594 100644
--- a/generator/Makefile.am
+++ b/generator/Makefile.am
@@ -86,7 +86,7 @@ else
 # No OCaml compiler.  Just replace the generator with a script that
 # touches stamp-generator and prints a warning.
 
-generator: $(SOURCES)
+$(srcdir)/generator: $(SOURCES)
 	rm -f $@ $@-t
 	echo 'echo Warning: Install OCaml compiler in order to rebuild the generated files.' >> $@-t
 	echo 'touch generator/stamp-generator' >> $@-t
-- 
1.7.7




More information about the Libguestfs mailing list