${CMAKE_CURRENT_BINARY_DIR}/options.dox
)
-CONFIGURE_FILE(
- ${CMAKE_CURRENT_SOURCE_DIR}/header.html.in
- ${CMAKE_CURRENT_BINARY_DIR}/header.html
- )
-
-CONFIGURE_FILE(
- ${CMAKE_CURRENT_SOURCE_DIR}/footer.html
- ${CMAKE_CURRENT_BINARY_DIR}/footer.html
- COPYONLY
- )
-
CONFIGURE_FILE(
${CMAKE_CURRENT_SOURCE_DIR}/deal.css
${CMAKE_CURRENT_BINARY_DIR}/deal.II/deal.css
COPYONLY
)
+#
+# Generate header, footer and style files for doxygen
+#
+ADD_CUSTOM_COMMAND(
+ OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/header.html
+ ${CMAKE_CURRENT_BINARY_DIR}/footer.html
+ ${CMAKE_CURRENT_BINARY_DIR}/style.css
+ COMMAND ${DOXYGEN_EXECUTABLE} -w html header.html footer.html style.css options.dox
+ COMMAND ${PERL_EXECUTABLE} -pi~ ${CMAKE_SOURCE_DIR}/doc/doxygen/scripts/mod_header.pl header.html
+ COMMAND ${PERL_EXECUTABLE} -pi~ ${CMAKE_SOURCE_DIR}/doc/doxygen/scripts/mod_footer.pl footer.html
+ WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
+ DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/options.dox
+ )
+
#
# Finalize the doxygen configuration:
#
tutorial
images
${CMAKE_CURRENT_BINARY_DIR}/options.dox
+ ${CMAKE_CURRENT_BINARY_DIR}/header.html
+ ${CMAKE_CURRENT_BINARY_DIR}/footer.html
${_doxygen_input}
COMMENT "Generating documentation via doxygen. This may take a _really_ long time..."
VERBATIM
+++ /dev/null
- <hr size="1" />
- <address style="align: right;">
- <small>
- <img src="logo200.png" alt="deal.II" />
- documentation generated on $datetime by
- <a href="http://www.doxygen.org/index.html">doxygen</a>
- $doxygenversion
- </small>
- </address>
- </body>
-</html>
+++ /dev/null
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<html>
- <head>
- <meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
- <title>$title</title>
- <link href="$relpath$doxygen.css" rel="stylesheet" type="text/css">
- <link href="$relpath$tabs.css" rel="stylesheet" type="text/css">
- <link href="$relpath$deal.css" rel="stylesheet" type="text/css">
- <link href="search/search.css" rel="stylesheet" type="text/css"/>
-
- <script type="text/javascript" src="search/search.js"></script>
- <script type="text/javascript" src="$relpath$jquery.js"></script>
- <script type="text/javascript" src="$relpath$dynsections.js"></script>
-
- <link rel="SHORTCUT ICON" href="http://www.dealii.org/favicon.ico">
- <meta name="copyright" content="Copyright (C) 1998 - 2013 by the deal.II Authors">
- <meta name="deal.II-version" content="@DEAL_II_PACKAGE_VERSION@">
- </head>
-
- <body>