From: Navarrop Date: Thu, 8 Sep 2011 13:00:13 +0000 (+0200) Subject: Prepare the target to make simgrid_documentation.pdf X-Git-Tag: v3_6_2~134 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/91e1764de30a97798d68dbf5969129b90f201a26 Prepare the target to make simgrid_documentation.pdf --- diff --git a/buildtools/Cmake/GenerateDoc.cmake b/buildtools/Cmake/GenerateDoc.cmake index 6e55644d55..6703114e00 100644 --- a/buildtools/Cmake/GenerateDoc.cmake +++ b/buildtools/Cmake/GenerateDoc.cmake @@ -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) diff --git a/doc/Doxyfile.in b/doc/Doxyfile.in index 9fc2ce612e..38f6d9478a 100644 --- a/doc/Doxyfile.in +++ b/doc/Doxyfile.in @@ -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