File: do_not_install_refman_pdf.patch

package info (click to toggle)
toulbar2 1.0.0+dfsg3-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 93,116 kB
  • sloc: cpp: 49,041; awk: 936; perl: 585; sh: 348; csh: 200; ansic: 93; xml: 72; makefile: 47
file content (21 lines) | stat: -rw-r--r-- 1,151 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
Description: Workaround bug #920459 and simply do not create PDF documentation
 FIXME: should be droped once bug #920459 is fixed
Author: Andreas Tille <tille@debian.org>
Last-Update: Thu, 14 Feb 2019 09:28:56 +0100

--- a/cmake-script/UseDoxygen.cmake
+++ b/cmake-script/UseDoxygen.cmake
@@ -46,11 +46,11 @@ if(BUILD_API_DOC_LATEX STREQUAL "ON")
     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}-doc)
+#    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}-doc)
+#  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}-doc PATTERN "*.md5" EXCLUDE)