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(-)

--- a/host/docs/CMakeLists.txt
+++ b/host/docs/CMakeLists.txt
@@ -114,6 +114,7 @@
     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"
     )
 
--- a/host/docs/Doxyfile.in
+++ b/host/docs/Doxyfile.in
@@ -601,7 +601,7 @@
 # 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 @@
 # 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
