[clfft] 23/50: installs almost docs correctly

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Fri May 29 08:19:23 UTC 2015


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

ghisvail-guest pushed a commit to branch debian/sid
in repository clfft.

commit 1720a1ef7768a9dc9a991ebbec1e90e4cd1333d9
Author: Jerome Kieffer <jerome.kieffer at esrf.fr>
Date:   Tue Apr 21 15:50:03 2015 +0200

    installs almost docs correctly
---
 debian/libclfft2-doc.install |  2 +-
 debian/patches/docpath.patch | 11 ++++++-----
 2 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/debian/libclfft2-doc.install b/debian/libclfft2-doc.install
index 005e2d3..f40e504 100644
--- a/debian/libclfft2-doc.install
+++ b/debian/libclfft2-doc.install
@@ -1 +1 @@
-usr/share/doc/doc
+usr/share/doc/doc/html usr/share/doc/libclfft2-doc
diff --git a/debian/patches/docpath.patch b/debian/patches/docpath.patch
index 2c77597..9a314a4 100644
--- a/debian/patches/docpath.patch
+++ b/debian/patches/docpath.patch
@@ -2759,7 +2759,7 @@
  	set( CMAKE_CXX_FLAGS "-pthread ${CMAKE_CXX_FLAGS}" )
  	set( CMAKE_C_FLAGS "-pthread ${CMAKE_C_FLAGS}" )
  
-@@ -309,3 +309,48 @@
+@@ -309,3 +309,49 @@
  
  # Define all variables that influence CPack before including CPack, such as install targets
  include( CPack )
@@ -2787,9 +2787,9 @@
 +  SET( doxyfile_in          ${PROJECT_SOURCE_DIR}/../doc/clFFT.doxy     )
 +  SET( doxyfile             ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile        )
 +  SET( doxy_html_index_file ${CMAKE_CURRENT_BINARY_DIR}/doc/html/index.html )
-+  SET( doxy_output_root     ${CMAKE_CURRENT_BINARY_DIR}/doc             ) # Pasted into Doxyfile.in
-+  SET( doxy_input           ${PROJECT_SOURCE_DIR}/src                   ) # Pasted into Doxyfile.in
-+  SET( doxy_extra_files     ${PROJECT_SOURCE_DIR}/../doc/*.jpg          ) # Pasted into Doxyfile.in
++  SET( doxy_output_root     ${CMAKE_CURRENT_BINARY_DIR}/doc/html        ) 
++  SET( doxy_input           ${PROJECT_SOURCE_DIR}/src                   ) 
++  file(GLOB  doxy_extra_files     ${PROJECT_SOURCE_DIR}/../doc/*.jpg    ) 
 + 
 +  CONFIGURE_FILE( ${doxyfile_in} ${doxyfile} @ONLY )
 + 
@@ -2801,7 +2801,8 @@
 +                      # custom_command for ${doxyfile} generation
 +                      # but I still have to figure out how...
 +                      MAIN_DEPENDENCY ${doxyfile} ${doxyfile_in}
-+                      #DEPENDS project_targets ${doxy_extra_files}
++		      file(COPY ${doxy_extra_files} 
++		      	   DESTINATION ${doxy_output_root})
 +                      COMMENT "Generating HTML documentation")
 + 
 +  ADD_CUSTOM_TARGET( doc ALL DEPENDS ${doxy_html_index_file} )

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/clfft.git



More information about the debian-science-commits mailing list