out-of-tree build: fix HAVE_OCAML=false case
authorHilko Bengen <bengen@hilluzination.de>
Thu, 20 Oct 2011 12:20:55 +0000 (14:20 +0200)
committerRichard W.M. Jones <rjones@redhat.com>
Fri, 21 Oct 2011 15:41:22 +0000 (16:41 +0100)
generator/Makefile.am

index 51a9462..44c0594 100644 (file)
@@ -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