From d8ac7f9585d3d2cd1454162c02b5e5ceea16b432 Mon Sep 17 00:00:00 2001
From: Oliver Sander <sander@igpm.rwth-aachen.de>
Date: Sun, 9 Jan 2011 15:32:08 +0000
Subject: [PATCH] add Doxygen documentation

[[Imported from SVN: r6703]]
---
 Makefile.am             |  2 +-
 configure.ac            |  3 +++
 doc/Makefile.am         | 10 ++++++++++
 doc/doxygen/Doxylocal   |  6 ++++++
 doc/doxygen/Makefile.am |  7 +++++++
 5 files changed, 27 insertions(+), 1 deletion(-)
 create mode 100644 doc/Makefile.am
 create mode 100644 doc/doxygen/Doxylocal
 create mode 100644 doc/doxygen/Makefile.am

diff --git a/Makefile.am b/Makefile.am
index af8f434a..14e5c32f 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -3,7 +3,7 @@
 # we need the module file to be able to build via dunecontrol
 EXTRA_DIST=dune.module
 
-SUBDIRS = m4 dune test
+SUBDIRS = doc m4 dune test
 
 # possible options
 LDADD = $(IPOPT_LDFLAGS) $(IPOPT_LIBS)
diff --git a/configure.ac b/configure.ac
index 42fabec0..06a29c72 100644
--- a/configure.ac
+++ b/configure.ac
@@ -16,6 +16,9 @@ AC_SUBST(AM_LDFLAGS, $DUNE_LDFLAGS)
 LIBS="$DUNE_LIBS"
 
 AC_CONFIG_FILES([Makefile
+                 doc/Makefile
+                 doc/doxygen/Makefile
+                 doc/doxygen/Doxyfile
                  dune/Makefile
                  dune/gfe/Makefile
                  test/Makefile
diff --git a/doc/Makefile.am b/doc/Makefile.am
new file mode 100644
index 00000000..8606374f
--- /dev/null
+++ b/doc/Makefile.am
@@ -0,0 +1,10 @@
+
+SUBDIRS = doxygen
+CURDIR = doc
+BASEDIR = ..
+
+# where to install the documentation too
+docdir=$(datadir)/doc/dune-gfe
+
+include $(top_srcdir)/am/webstuff
+include $(top_srcdir)/am/global-rules
diff --git a/doc/doxygen/Doxylocal b/doc/doxygen/Doxylocal
new file mode 100644
index 00000000..76a97b53
--- /dev/null
+++ b/doc/doxygen/Doxylocal
@@ -0,0 +1,6 @@
+INPUT                  += @top_srcdir@/dune/gfe
+EXCLUDE                += 
+EXAMPLE_PATH           +=
+EXAMPLE_PATTERNS       +=
+IMAGE_PATH             +=
+PREDEFINED             += DOXYGEN 
diff --git a/doc/doxygen/Makefile.am b/doc/doxygen/Makefile.am
new file mode 100644
index 00000000..d94c751b
--- /dev/null
+++ b/doc/doxygen/Makefile.am
@@ -0,0 +1,7 @@
+
+BASEDIR=../..
+CURDIR=doc/doxygen
+
+include $(top_srcdir)/am/doxygen
+include $(top_srcdir)/am/global-rules
+
-- 
GitLab