]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
change generation of header and footer
authorkanschat <kanschat@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 25 Nov 2013 17:36:56 +0000 (17:36 +0000)
committerkanschat <kanschat@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 25 Nov 2013 17:36:56 +0000 (17:36 +0000)
git-svn-id: https://svn.dealii.org/trunk@31798 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/doc/doxygen/CMakeLists.txt
deal.II/doc/doxygen/footer.html [deleted file]
deal.II/doc/doxygen/header.html.in [deleted file]
deal.II/doc/doxygen/scripts/mod_footer.pl [new file with mode: 0644]

index b7e726df4404a490e1e4724f11c8e5625ff65aec..56723a24cd3d52c8cf9fa4e7cee1b4c670bffc60 100644 (file)
@@ -35,23 +35,26 @@ CONFIGURE_FILE(
   ${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:
 #
@@ -102,6 +105,8 @@ ADD_CUSTOM_COMMAND(
     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
diff --git a/deal.II/doc/doxygen/footer.html b/deal.II/doc/doxygen/footer.html
deleted file mode 100644 (file)
index de1963a..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-    <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>
diff --git a/deal.II/doc/doxygen/header.html.in b/deal.II/doc/doxygen/header.html.in
deleted file mode 100644 (file)
index 3c95a1d..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-<!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>
diff --git a/deal.II/doc/doxygen/scripts/mod_footer.pl b/deal.II/doc/doxygen/scripts/mod_footer.pl
new file mode 100644 (file)
index 0000000..e69de29

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.