From: Hilko Bengen Date: Thu, 20 Oct 2011 12:20:55 +0000 (+0200) Subject: out-of-tree build: fix HAVE_OCAML=false case X-Git-Tag: 1.13.24~7 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=aa67ea2b9b800305a00615f3a463cdd46eae9181;p=libguestfs.git out-of-tree build: fix HAVE_OCAML=false case --- 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