diff --git a/Makefile.am b/Makefile.am index cb847626..0b855028 100644 --- a/Makefile.am +++ b/Makefile.am @@ -14,9 +14,13 @@ EXTRA_DIST = config.rpath \ dist_doc_DATA = README README.rst README.html if HAVE_RST2HTML - README.html: README.rst - $(RST2HTML) $< > README.html + $(RST2HTML) $< > $@ +else +README.html: README.rst + @echo Warning: rst2html not installed. Placing only a dummy file for $@ + echo "" >> $@ + echo "
Readme has not been built!.
Instead see README.rst