Fix dependency for doc build

Add check for libtidy in Makefile giving more information to user.

Change-Id: I1deedc6d8b714cdfcef53672af2921a0906ec13f
Closes-Bug: #1337697
This commit is contained in:
Edwin Zhai 2015-08-21 06:23:50 +08:00
parent 0d39daa881
commit 77a76c256f

View File

@ -50,6 +50,7 @@ html: check-dependencies
.PHONY: check-dependencies
check-dependencies:
@python -c 'import sphinxcontrib.autohttp.flask' >/dev/null 2>&1 || (echo "ERROR: Missing Sphinx dependencies. Run: pip install sphinxcontrib-httpdomain" && exit 1)
@ld -ltidy >/dev/null 2>&1 || (echo "Error: Missing libtidy dependencies. Pls. install libtidy with system package manager" && exit 1)
wadl:
$(SPHINXBUILD) -b docbook $(ALLSPHINXOPTS) $(BUILDDIR)/wadl