Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Prepare the target to make simgrid_documentation.pdf
authorNavarrop <Pierre.Navarro@imag.fr>
Thu, 8 Sep 2011 13:00:13 +0000 (15:00 +0200)
committerNavarrop <Pierre.Navarro@imag.fr>
Thu, 8 Sep 2011 13:00:13 +0000 (15:00 +0200)
buildtools/Cmake/GenerateDoc.cmake
doc/Doxyfile.in

index 6e55644..6703114 100644 (file)
@@ -304,3 +304,12 @@ ADD_CUSTOM_TARGET(bib_files
 )
 
 add_dependencies(simgrid_website bib_files)
+
+ADD_CUSTOM_TARGET(pdf
+    COMMAND ${CMAKE_COMMAND} -E echo "XX Generate simgrid_documentation.pdf"
+    COMMAND make clean
+    COMMAND make pdf
+    COMMAND ${CMAKE_COMMAND} -E rename ${CMAKE_HOME_DIRECTORY}/doc/latex/refman.pdf ${CMAKE_HOME_DIRECTORY}/doc/latex/simgrid_documentation.pdf
+    WORKING_DIRECTORY ${CMAKE_HOME_DIRECTORY}/doc/latex
+)
+add_dependencies(pdf simgrid_documentation)
index 9fc2ce6..38f6d94 100644 (file)
@@ -1224,7 +1224,7 @@ SERVER_BASED_SEARCH    = NO
 # 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
@@ -1282,13 +1282,13 @@ LATEX_HEADER           =
 # contain links (just like the HTML output) instead of page references
 # This makes the output suitable for online browsing using a pdf viewer.
 
-PDF_HYPERLINKS         = NO
+PDF_HYPERLINKS         = YES
 
 # If the USE_PDFLATEX tag is set to YES, pdflatex will be used instead of
 # plain latex in the generated Makefile. Set this option to YES to get a
 # higher quality PDF documentation.
 
-USE_PDFLATEX           = NO
+USE_PDFLATEX           = YES
 
 # If the LATEX_BATCHMODE tag is set to YES, doxygen will add the \\batchmode.
 # command to the generated LaTeX files. This will instruct LaTeX to keep