1 #-----------------------------------------------------------------------------
2 # Build the documentation
9 ${HTML_DIR}/${DOC_MODULE}
13 # DoxyfileDeveloppers \
15 # DoxyDevelInstal.txt \
16 # DoxyIntroduction.txt \
18 # DoxyInstallation.txt \
23 # http://www.cmake.org/pipermail/cmake/2003-April/003673.html
24 # Too bad CMake doesn't support multiline ""
25 SET(GDCM_DOXYGEN_INPUT_COMMON
26 "${GDCM_SOURCE_DIR}/src ${GDCM_SOURCE_DIR}/Doc/DoxyPython.txt ${GDCM_SOURCE_DIR}/Doc/DoxyMainPage.txt ${GDCM_SOURCE_DIR}/Doc/DoxyInstallation.txt ${GDCM_SOURCE_DIR}/Doc/DoxyIntroduction.txt"
28 SET(GDCM_DOXYGEN_EXCLUDE_COMMON
31 #Should rewrote this thing with FOREACH:
32 #-----------------------------------------------------------------------------
33 # Build the documentation for developpers
38 SET(GDCM_DOXYGEN_INPUT
39 "${GDCM_DOXYGEN_INPUT_COMMON} ${GDCM_SOURCE_DIR}/Doc/DoxyDevelInstal.txt"
41 SET(GDCM_DOXYGEN_EXCLUDE
42 "${GDCM_DOXYGEN_EXCLUDE_COMMON} ${GDCM_SOURCE_DIR@/src/iddcmjpeg.h ${GDCM_SOURCE_DIR@/src/src/gdcmJpeg.cxx"
45 ${GDCM_SOURCE_DIR}/Doc/doxygen.config.in
46 ${GDCM_BINARY_DIR}/Doc/DoxyfileDeveloppers
50 ADD_CUSTOM_TARGET(doc-developer
53 ${GDCM_BINARY_DIR}/Doc/DoxyfileDeveloppers)
55 #-----------------------------------------------------------------------------
56 # Build the documentation for user
61 SET(GDCM_DOXYGEN_INPUT
62 "${GDCM_DOXYGEN_INPUT_COMMON}"
64 SET(GDCM_DOXYGEN_EXCLUDE
65 "${GDCM_DOXYGEN_EXCLUDE_COMMON}"
68 ${GDCM_SOURCE_DIR}/Doc/doxygen.config.in
69 ${GDCM_BINARY_DIR}/Doc/DoxyfileUsers
73 ADD_CUSTOM_TARGET(doc-user
76 ${GDCM_BINARY_DIR}/Doc/DoxyfileUsers)
79 INSTALL_FILES(${HTML_DIR} "\\.css$")
80 INSTALL_FILES(${HTML_DIR} "\\.png$")
81 INSTALL_FILES(${HTML_DIR} "\\.html$")
82 #INSTALL_FILES(${HTML_DIR} "\\.pl$")
83 #INSTALL_FILES(${HTML_DIR} "\\.stop$")
86 #-----------------------------------------------------------------------------
87 # m4 that hasn't been translated
90 # rm -rf $(distdir)/html.developper
92 #.PHONY : html.developper latex man