Add code to detect rst2html.py or rst2html

This commit is contained in:
Tatsuhiro Tsujikawa 2013-05-17 21:38:51 +09:00
parent 7ac096c3c0
commit 13e064e4e1
2 changed files with 12 additions and 3 deletions

View file

@ -1,13 +1,18 @@
SUBDIRS = po intl lib deps src doc test
ACLOCAL_AMFLAGS = -I m4 --install
RST2HTML = @RST2HTML@
EXTRA_DIST = config.rpath mingw-config android-config android-make\
build_osx_release.sh
dist_doc_DATA = README README.rst README.html
dist_doc_DATA = README README.rst
if HAVE_RST2HTML
dist_doc_DATA += README.html
README.html: README.rst
$(RST2HTML) README.rst > README.html
endif # HAVE_RST2HTML
dist_noinst_DATA = LICENSE.OpenSSL
README.html: README.rst
rst2html README.rst > README.html