Documentation/sphinx: make it possible to build latexdocs without pdflatex
authorJani Nikula <jani.nikula@intel.com>
Wed, 2 Nov 2016 09:13:19 +0000 (11:13 +0200)
committerJani Nikula <jani.nikula@intel.com>
Thu, 3 Nov 2016 10:35:29 +0000 (12:35 +0200)
commit207fc55bc32f6baf0f4793afb5e79267d528e1ae
treef7a219e44ffa59d3f33d6d775f8ef4ed608715b6
parent1171a28bacee936be4da7c83de429e0258e647c3
Documentation/sphinx: make it possible to build latexdocs without pdflatex

Building latexdocs doesn't actually require $(PDFLATEX). Move the checks
for it to the pdfdocs target which does require it, and specifically
outside of the target in order to not depend on latexdocs when we can't
build pdfdocs anyway.

Reviewed-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Tested-by: Markus Heiser <markus.heiser@darmarIT.de>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Documentation/Makefile.sphinx