mirror of
https://github.com/aria2/aria2.git
synced 2025-04-04 21:17:41 +03:00
Fix build without rst2html and without existing README.html
Fixes regression from #221
This commit is contained in:
parent
d2e38aab36
commit
c4d91b2299
1 changed files with 6 additions and 2 deletions
|
@ -14,9 +14,13 @@ EXTRA_DIST = config.rpath \
|
||||||
dist_doc_DATA = README README.rst README.html
|
dist_doc_DATA = README README.rst README.html
|
||||||
|
|
||||||
if HAVE_RST2HTML
|
if HAVE_RST2HTML
|
||||||
|
|
||||||
README.html: README.rst
|
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
|
endif # HAVE_RST2HTML
|
||||||
|
|
||||||
dist_noinst_DATA = LICENSE.OpenSSL
|
dist_noinst_DATA = LICENSE.OpenSSL
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue