File: 020-remove-doxygen-md5

package info (click to toggle)
toulbar2 1.0.0+dfsg3-2
  • links: PTS, VCS
  • area: main
  • in suites: buster, sid
  • size: 93,116 kB
  • sloc: cpp: 49,041; awk: 936; perl: 585; sh: 348; csh: 200; ansic: 93; xml: 72; makefile: 47
file content (27 lines) | stat: -rw-r--r-- 1,413 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
Description:  Do not install doxygen md5 files 
Author: Thomas Schiex <Thomas.Schiex@inra.fr>
Last-Update: 2018-08-07
--- a/cmake-script/UseDoxygen.cmake
+++ b/cmake-script/UseDoxygen.cmake
@@ -43,17 +43,17 @@
       COMMAND ${DOXYFILE_MAKE}
       COMMENT "Running LaTeX for Doxygen documentation in ${CMAKE_CURRENT_BINARY_DIR}/latex..."
       WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/latex")
-    install(FILES ${CMAKE_CURRENT_BINARY_DIR}/latex/refman.pdf DESTINATION ${doc_destination}/${Toulbar_NAME})
+    install(FILES ${CMAKE_CURRENT_BINARY_DIR}/latex/refman.pdf DESTINATION ${doc_destination}/${Toulbar_NAME}-doc)
   else()
     set(DOXYGEN_LATEX "NO")
-    install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/doc/refman.pdf DESTINATION ${doc_destination}/${Toulbar_NAME})
+    install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/doc/refman.pdf DESTINATION ${doc_destination}/${Toulbar_NAME}-doc)
   endif()
 else()
   set(DOXYFILE_GENERATE_LATEX "NO")
-  install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/doc/refman.pdf DESTINATION ${doc_destination}/${Toulbar_NAME})
+  install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/doc/refman.pdf DESTINATION ${doc_destination}/${Toulbar_NAME}-doc)
 endif()
 
-install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/html DESTINATION ${doc_destination}/${Toulbar_NAME})
+install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/html DESTINATION ${doc_destination}/${Toulbar_NAME}-doc PATTERN "*.md5" EXCLUDE)