1 #-----------------------------------------------------------------------------
2 # Build the documentation
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"
27 "${GDCM_SOURCE_DIR}/src/jdatasrc.cxx"
28 "${GDCM_SOURCE_DIR}/src/jdatadst.cxx"
32 SET(GDCM_DOCUMENTATION_INPUT_COMMON
33 "${GDCM_DOCUMENTATION_INPUT_COMMON} ${GDCM_SOURCE_DIR}/vtk")
37 GET_FILENAME_COMPONENT(GDCM_DOCUMENTATION_DOT_PATH ${DOT} PATH)
38 SET(GDCM_DOCUMENTATION_HAVE_DOT "YES")
40 SET(GDCM_DOCUMENTATION_DOT_PATH "")
41 SET(GDCM_DOCUMENTATION_HAVE_DOT "NO")
44 #Should rewrote this thing with FOREACH:
45 #-----------------------------------------------------------------------------
46 # Build the documentation for developpers
51 SET(GDCM_DOCUMENTATION_INPUT
52 "${GDCM_DOCUMENTATION_INPUT_COMMON} ${GDCM_SOURCE_DIR}/Doc/DoxyMainPage.txt"
54 SET(GDCM_DOCUMENTATION_EXCLUDE
55 "${GDCM_DOCUMENTATION_EXCLUDE_COMMON}"
58 ${GDCM_SOURCE_DIR}/Doc/doxygen.config.in
59 ${GDCM_BINARY_DIR}/Doc/DoxyfileDeveloppers
63 ADD_CUSTOM_TARGET(doc-developer
66 ${GDCM_BINARY_DIR}/Doc/DoxyfileDeveloppers)
68 #-----------------------------------------------------------------------------
69 # Build the documentation for user
74 SET(GDCM_DOCUMENTATION_INPUT
75 "${GDCM_DOCUMENTATION_INPUT_COMMON} ${GDCM_SOURCE_DIR}/Doc/DoxyMainPageUser.txt"
77 SET(GDCM_DOCUMENTATION_EXCLUDE
78 "${GDCM_DOCUMENTATION_EXCLUDE_COMMON} ${GDCM_SOURCE_DIR}/src/gdcmTS.h ${GDCM_SOURCE_DIR}/src/gdcmTS.cxx"
81 ${GDCM_SOURCE_DIR}/Doc/doxygen.config.in
82 ${GDCM_BINARY_DIR}/Doc/DoxyfileUsers
86 ADD_CUSTOM_TARGET(doc-user
89 ${GDCM_BINARY_DIR}/Doc/DoxyfileUsers)
92 INSTALL_FILES(${HTML_DIR} "\\.css$")
93 INSTALL_FILES(${HTML_DIR} "\\.png$")
94 INSTALL_FILES(${HTML_DIR} "\\.html$")
95 #INSTALL_FILES(${HTML_DIR} "\\.pl$")
96 #INSTALL_FILES(${HTML_DIR} "\\.stop$")
97 ENDIF(GDCM_DOCUMENTATION)
99 #-----------------------------------------------------------------------------
100 # m4 that hasn't been translated
103 # rm -rf $(distdir)/html.developper
105 #.PHONY : html.developper latex man