Documentation/sphinx: fix make SPHINXDIRS="dirs" pdfdocs for more than one dir
authorMarkus Heiser <markus.heiser@darmarIT.de>
Wed, 2 Nov 2016 14:37:11 +0000 (16:37 +0200)
committerJani Nikula <jani.nikula@intel.com>
Thu, 3 Nov 2016 10:36:56 +0000 (12:36 +0200)
Add missing semicolon to fix pdf build with more than one SPHINXDIRS
directory specified. For example make SPHINXDIRS="gpu media" pdfdocs.

Fixes: cd21379b1698 ("doc-rst: generic way to build PDF of sub-folders")
Signed-off-by: Markus Heiser <markus.heiser@darmarIT.de>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Documentation/Makefile.sphinx

index d58d776d8d0074c34bf5b8d5ee5053180e95cfd0..ec0c77d028dbf851a6141bb86d339a805b56a049 100644 (file)
@@ -80,7 +80,7 @@ pdfdocs:
 else # HAVE_PDFLATEX
 
 pdfdocs: latexdocs
-       $(foreach var,$(SPHINXDIRS), $(MAKE) PDFLATEX=$(PDFLATEX) LATEXOPTS="$(LATEXOPTS)" -C $(BUILDDIR)/$(var)/latex)
+       $(foreach var,$(SPHINXDIRS), $(MAKE) PDFLATEX=$(PDFLATEX) LATEXOPTS="$(LATEXOPTS)" -C $(BUILDDIR)/$(var)/latex;)
 
 endif # HAVE_PDFLATEX