mirror of https://github.com/aria2/aria2
Fix build without rst2html and without existing README.html
Fixes regression from #221pull/235/head
parent
d2e38aab36
commit
c4d91b2299
|
@ -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 "<!doctype html>" >> $@
|
||||
echo "<p>Readme has not been built!.<br>Instead see <a href='README.rst'>README.rst</a></p>" >> $@
|
||||
endif # HAVE_RST2HTML
|
||||
|
||||
dist_noinst_DATA = LICENSE.OpenSSL
|
||||
|
|
Loading…
Reference in New Issue