[med-svn] [ismrmrd] 03/07: d/p: enable installation of documentation

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Thu Sep 24 08:57:06 UTC 2015


This is an automated email from the git hooks/post-receive script.

ghisvail-guest pushed a commit to branch master
in repository ismrmrd.

commit 331d39ad7fb223c50031d9f16ccff6bc2dc3f336
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date:   Tue Sep 22 17:31:13 2015 +0100

    d/p: enable installation of documentation
---
 debian/patches/cmake-install-docs.patch | 21 +++++++++++++++++++++
 debian/patches/series                   |  1 +
 2 files changed, 22 insertions(+)

diff --git a/debian/patches/cmake-install-docs.patch b/debian/patches/cmake-install-docs.patch
new file mode 100644
index 0000000..efacaa7
--- /dev/null
+++ b/debian/patches/cmake-install-docs.patch
@@ -0,0 +1,21 @@
+Description: enable installation of generated documentation
+ By default, the documentation targets do no install the generated 
+ documentation. This patch adds this missing installation step. The 
+ documentation gets installed under the projects data folder, i.e 
+ $(CMAKE_INSTALL_PREFIX)/share/ismrmrd/doc.
+Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
+Forwarded: not-needed
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/doc/CMakeLists.txt
++++ b/doc/CMakeLists.txt
+@@ -9,6 +9,9 @@
+         COMMAND ${CMAKE_COMMAND} -E make_directory ${API_DOC_DIR}
+         COMMAND ${DOXYGEN_EXECUTABLE} ${DOXYFILE}
+         COMMENT "Generating API documentation using Doxygen" VERBATIM)
++
++    install(DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/html" DESTINATION share/ismrmrd/doc)
++
+ else(DOXYGEN_FOUND)
+     MESSAGE(STATUS "Doxygen not found. Not able to build API documentation")
+ endif(DOXYGEN_FOUND)
diff --git a/debian/patches/series b/debian/patches/series
index 231952f..a716125 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 make-build-reproducible.patch
+cmake-install-docs.patch
 fixing-check-after-free-in-unit-tests.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/ismrmrd.git



More information about the debian-med-commit mailing list