From 9212330d0114bfad5c8359bc4a171f55f31f686c Mon Sep 17 00:00:00 2001
From: "A. Maitland Bottoms" <bottoms@debian.org>
Date: Fri, 26 Oct 2018 21:30:59 -0400
Subject: [PATCH 6/6] doxygen pdf

Go ahead and let Doxygen make a .pdf file for us.
---
 host/docs/CMakeLists.txt | 1 +
 host/docs/Doxyfile.in    | 4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/host/docs/CMakeLists.txt b/host/docs/CMakeLists.txt
index 8a9c8b7f4..3c0498dc0 100644
--- a/host/docs/CMakeLists.txt
+++ b/host/docs/CMakeLists.txt
@@ -109,6 +109,7 @@ IF(ENABLE_MANUAL_OR_DOXYGEN)
     ADD_CUSTOM_COMMAND(
         OUTPUT ${CMAKE_CURRENT_BINARY_DIR_DOXYGEN} DEPENDS ${DOXYGEN_DEPENDENCIES}
         COMMAND ${DOXYGEN_EXECUTABLE} ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile
+	COMMAND cd ${CMAKE_CURRENT_BINARY_DIR_DOXYGEN}/latex && make
         COMMENT "Generating documentation with doxygen"
     )
 
diff --git a/host/docs/Doxyfile.in b/host/docs/Doxyfile.in
index 36ae2208c..aa01b3c7f 100644
--- a/host/docs/Doxyfile.in
+++ b/host/docs/Doxyfile.in
@@ -601,7 +601,7 @@ CITE_BIB_FILES         =
 # The QUIET tag can be used to turn on/off the messages that are generated
 # by doxygen. Possible values are YES and NO. If left blank NO is used.
 
-QUIET                  = YES
+QUIET                  = NO
 
 # The WARNINGS tag can be used to turn on/off the warning messages that are
 # generated by doxygen. Possible values are YES and NO. If left blank
@@ -1288,7 +1288,7 @@ EXTRA_SEARCH_MAPPINGS  =
 # If the GENERATE_LATEX tag is set to YES (the default) Doxygen will
 # generate Latex output.
 
-GENERATE_LATEX         = NO
+GENERATE_LATEX         = YES
 
 # The LATEX_OUTPUT tag is used to specify where the LaTeX docs will be put.
 # If a relative path is entered the value of OUTPUT_DIRECTORY will be
-- 
2.11.0

