+++ /dev/null
-# $Id$
-
-###############################
-# Configured variables
-
-D = @prefix@
-include $D/common/Make.global_options
-
-
-# default target. make sure validate-xrefs is only run after
-# everything else (can't appear in the list of dependencies since
-# would be run at the same time for parallel makes)
-default: doxygen development
- @$(MAKE) validate-xrefs
-
-all: default
-
-
-# specific targets
-doxygen:
- cd doxygen ; rm -f *.tag ; $(MAKE)
-
-development:
- cd development ; $(MAKE)
-
-glossary:
- cd glossary ; $(MAKE)
-
-
-validate-xrefs:
- @echo "Validating cross-references in HTML files."
- $(PERL) $D/common/scripts/validate-xrefs.pl *html
- cd doxygen ; $(MAKE) validate-xrefs
- cd development ; $(MAKE) validate-xrefs
- cd publications ; $(MAKE) validate-xrefs
- cd news ; $(MAKE) validate-xrefs
- cd reports ; $(MAKE) validate-xrefs
-
-
-clean:
- cd doxygen ; $(MAKE) clean
- cd development ; $(MAKE) clean
- cd glossary ; $(MAKE) clean
-
-
-.PHONY: default doxygen all autogen-doc autogen-doc-all clean development validate-xrefs glossary
)
ENDIF()
+
#
# Prepare the example steps for inclusion:
#
+
ADD_SUBDIRECTORY(tutorial)
+
+#
+# Prepare auxiliary files for doxygen:
+#
+
CONFIGURE_FILE(
${CMAKE_CURRENT_SOURCE_DIR}/options.dox.in
${CMAKE_CURRENT_BINARY_DIR}/options.dox
COPYONLY
)
+ADD_CUSTOM_COMMAND(
+ OUTPUT
+ ${CMAKE_CURRENT_BINARY_DIR}/images/structure.png
+ ${CMAKE_CURRENT_BINARY_DIR}/images/structure.cmapx
+ COMMAND ${DOXYGEN_DOT_EXECUTABLE}
+ ARGS
+ -Tpng -o ${CMAKE_CURRENT_BINARY_DIR}/images/structure.png
+ -Tcmapx -o ${CMAKE_CURRENT_BINARY_DIR}/images/strucutre.cmapx
+ ${CMAKE_CURRENT_SOURCE_DIR}/images/structure.dot
+ DEPENDS
+ ${CMAKE_CURRENT_SOURCE_DIR}/images/structure.dot
+ )
+
+
+#
+# Finalize the doxygen configuration:
+#
+
file(GLOB doxygen_input
${CMAKE_SOURCE_DIR}/include/deal.II/*
${CMAKE_BINARY_DIR}/include/deal.II/*
TO_STRING(doxygen_input ${doxygen_input})
-
file(GLOB doxygen_image_path
${CMAKE_CURRENT_SOURCE_DIR}/images
${CMAKE_SOURCE_DIR}/examples/*/doc
)
TO_STRING(doxygen_image_path ${doxygen_image_path})
-
FILE(APPEND "${CMAKE_CURRENT_BINARY_DIR}/options.dox"
"
INPUT=${doxygen_input}
#
${DOXYGEN_EXECUTABLE} ${CMAKE_CURRENT_BINARY_DIR}/options.dox
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
- COMMENT "Generating documentation via doxygen"
+ DEPENDS
+ ${CMAKE_CURRENT_BINARY_DIR}/images/structure.png
+ ${CMAKE_CURRENT_BINARY_DIR}/images/structure.cmapx
+ COMMENT "Generating documentation via doxygen (This may take a _really_ long time)"
VERBATIM
)