File: install-dev-docs

package info (click to toggle)
soapysdr 0.8.1-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 948 kB
  • sloc: cpp: 5,378; ansic: 471; python: 311; sh: 21; makefile: 17
file content (19 lines) | stat: -rw-r--r-- 720 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Description: Install API reference manual
 The HTML reference manual that is built when doxygen is available is
 not installed in the upstream cmake scripts. This patch changes that
 to install them in /usr/share/doc/libsoapysdr-doc/html for later
 installation in its own package.
Author: Andreas Bombe <aeb@debian.org>
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/docs/CMakeLists.txt
+++ b/docs/CMakeLists.txt
@@ -42,4 +42,8 @@
         COMMENT "Generating documentation with doxygen"
     )
     add_custom_target(docs ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR_DOXYGEN})
+    install(
+	DIRECTORY ${CMAKE_CURRENT_BINARY_DIR_DOXYGEN}
+	DESTINATION share/doc/libsoapysdr-doc
+    )
 endif()