aria2/Makefile.am

30 lines
891 B
Makefile
Raw Normal View History

SUBDIRS = po lib deps src doc test
ACLOCAL_AMFLAGS = -I m4 --install
RST2HTML = @RST2HTML@
EXTRA_DIST = config.rpath \
script-helper \
makerelease \
mingw-config mingw-release mingw-build-memo \
android-config android-make \
makerelease-osx.mk osx-package/DS_Store osx-package/etc/paths.d/aria2c osx-package/etc/manpaths.d/aria2 \
Dockerfile.mingw \
Dockerfile.raspberrypi \
examples/libaria2ex.cc examples/libaria2wx.cc
dist_doc_DATA = README README.rst README.html
if HAVE_RST2HTML
README.html: README.rst
$(RST2HTML) $< > $@
2014-05-30 13:34:46 +00:00
else # !HAVE_RST2HTML
README.html: README.rst
@echo Warning: rst2html not installed. Placing only a dummy file for $@
2014-05-30 01:29:04 +00:00
echo "<!doctype html>" > $@
echo "<p>Readme has not been built!.<br>Instead see <a href='README.rst'>README.rst</a></p>" >> $@
2014-05-30 13:34:46 +00:00
endif # !HAVE_RST2HTML
dist_noinst_DATA = LICENSE.OpenSSL