out-of-tree build: fix HAVE_OCAML=false case

This commit is contained in:
Hilko Bengen
2011-10-20 14:20:55 +02:00
committed by Richard W.M. Jones
parent 025dba7f80
commit aa67ea2b9b

View 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