From dbacc42f72f57f03ba24c2db092b497dbd2690cd Mon Sep 17 00:00:00 2001 From: Jean-Paul Chaput Date: Mon, 10 Jan 2011 15:28:00 +0000 Subject: [PATCH] Forgot this one. --- stratus1/doc/developper/CMakeLists.txt | 29 ++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 stratus1/doc/developper/CMakeLists.txt diff --git a/stratus1/doc/developper/CMakeLists.txt b/stratus1/doc/developper/CMakeLists.txt new file mode 100644 index 00000000..659fd0f5 --- /dev/null +++ b/stratus1/doc/developper/CMakeLists.txt @@ -0,0 +1,29 @@ + + set ( LATEX2HTML_CONVERTER_FLAGS "-html_version" "4.0,latin1" + "-style" "SoC.css" + "-init_file" "${CMAKE_CURRENT_SOURCE_DIR}/.latex2html-init" + CACHE STRING "Custom arguments passeds to latex2html" FORCE ) + + add_latex_document ( stratus_developper.tex INPUTS + man_inst.tex + man_model.tex + man_net.tex + man_stratus.tex + see_also.tex + ) + + set ( htmlInstallDir share/doc/coriolis2/en/html/ ) + set ( latexInstallDir share/doc/coriolis2/en/latex/stratus_developper ) + + latex_get_output_path ( output_dir ) + + + #file ( COPY "${CMAKE_CURRENT_SOURCE_DIR}/SoC.css" DESTINATION "${output_dir}/README" ) + make_directory ( "${output_dir}/stratus_developper" ) + execute_process ( COMMAND cp -r "${CMAKE_CURRENT_SOURCE_DIR}/SoC.css" "${output_dir}/stratus_developper" ) + + install ( FILES ${output_dir}/stratus_developper.tex + ${output_dir}/stratus_developper.dvi + ${output_dir}/stratus_developper.pdf + DESTINATION ${latexInstallDir} ) + install ( DIRECTORY ${output_dir}/stratus_developper DESTINATION ${htmlInstallDir} )