1 #-----------------------------------------------------------------------------
2 # Build the documentation
5 ${GDCM_INSTALL_DATA_DIR}/html
9 ${HTML_DIR}/${DOC_MODULE}
13 # DoxyfileDeveloppers \
18 IF(GDCM_DOCUMENTATION)
20 # http://www.cmake.org/pipermail/cmake/2003-April/003673.html
21 # Too bad CMake doesn't support multiline ""
22 SET(GDCM_DOCUMENTATION_INPUT_COMMON
23 "${GDCM_SOURCE_DIR}/src ${GDCM_SOURCE_DIR}/Doc/DoxyPython.txt ${GDCM_SOURCE_DIR}/Doc/DoxyVtkGdmReaderExamples.txt"
25 SET(GDCM_DOCUMENTATION_EXCLUDE_COMMON
26 "${GDCM_SOURCE_DIR}/src/gdcmJpeg.cxx ${GDCM_SOURCE_DIR}/src/jdatasrc.cxx ${GDCM_SOURCE_DIR}/src/jdatadst.cxx"
30 SET(GDCM_DOCUMENTATION_INPUT_COMMON
31 "${GDCM_DOCUMENTATION_INPUT_COMMON} ${GDCM_SOURCE_DIR}/vtk")
35 GET_FILENAME_COMPONENT(GDCM_DOCUMENTATION_DOT_PATH ${DOT} PATH)
36 SET(GDCM_DOCUMENTATION_HAVE_DOT "YES")
38 SET(GDCM_DOCUMENTATION_DOT_PATH "")
39 SET(GDCM_DOCUMENTATION_HAVE_DOT "NO")
42 #Should rewrite this thing with FOREACH:
43 #-----------------------------------------------------------------------------
44 # Build the documentation for developpers
49 SET(GDCM_DOCUMENTATION_INPUT
50 "${GDCM_DOCUMENTATION_INPUT_COMMON} ${GDCM_SOURCE_DIR}/Doc/DoxyMainPage.txt"
52 SET(GDCM_DOCUMENTATION_EXCLUDE
53 "${GDCM_DOCUMENTATION_EXCLUDE_COMMON}"
56 ${GDCM_SOURCE_DIR}/Doc/doxygen.config.in
57 ${GDCM_BINARY_DIR}/Doc/DoxyfileDeveloppers
61 ADD_CUSTOM_TARGET(doc-developer
64 ${GDCM_BINARY_DIR}/Doc/DoxyfileDeveloppers)
66 #-----------------------------------------------------------------------------
67 # Build the documentation for user
72 SET(GDCM_DOCUMENTATION_INPUT
73 "${GDCM_DOCUMENTATION_INPUT_COMMON} ${GDCM_SOURCE_DIR}/Doc/DoxyMainPageUser.txt"
75 SET(GDCM_DOCUMENTATION_EXCLUDE
76 "${GDCM_DOCUMENTATION_EXCLUDE_COMMON} ${GDCM_SOURCE_DIR}/src/gdcmTS.h ${GDCM_SOURCE_DIR}/src/gdcmTS.cxx"
79 ${GDCM_SOURCE_DIR}/Doc/doxygen.config.in
80 ${GDCM_BINARY_DIR}/Doc/DoxyfileUsers
84 ADD_CUSTOM_TARGET(doc-user
87 ${GDCM_BINARY_DIR}/Doc/DoxyfileUsers)
90 INSTALL_FILES(${HTML_DIR} "\\.css$")
91 INSTALL_FILES(${HTML_DIR} "\\.png$")
92 INSTALL_FILES(${HTML_DIR} "\\.html$")
93 #INSTALL_FILES(${HTML_DIR} "\\.pl$")
94 #INSTALL_FILES(${HTML_DIR} "\\.stop$")
95 ENDIF(GDCM_DOCUMENTATION)
97 #-----------------------------------------------------------------------------
98 # m4 that hasn't been translated
101 # rm -rf $(distdir)/html.developper
103 #.PHONY : html.developper latex man