diff --git a/generator/Makefile.am b/generator/Makefile.am index 51a946241..44c0594cf 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