gnomemm r1421 - in gstreamermm/trunk: . docs/reference



Author: jaalburqu
Date: Tue Mar 25 17:44:58 2008
New Revision: 1421
URL: http://svn.gnome.org/viewvc/gnomemm?rev=1421&view=rev

Log:
2008-03-25  Josà Alburquerque  <jaalburqu svn gnome org>

	* configure.ac: Added lines to define GSTREAMERMM_DOXYGEN_INPUT (which
	includes directories to be proecessed by Doxygen) -- Adapted from
	goocanvasmm
	* docs/reference/Doxyfile.in: Modified to use
	GSTREAMERMM_DOXYGEN_INPUT for input files

Modified:
   gstreamermm/trunk/ChangeLog
   gstreamermm/trunk/configure.ac
   gstreamermm/trunk/docs/reference/Doxyfile.in

Modified: gstreamermm/trunk/configure.ac
==============================================================================
--- gstreamermm/trunk/configure.ac	(original)
+++ gstreamermm/trunk/configure.ac	Tue Mar 25 17:44:58 2008
@@ -272,6 +272,22 @@
     CFLAGS="$DEBUG_OPTIONS"
 fi
 
+# Create a list of input directories for Doxygen.  We have to check wether
+# we are building in the source directory, because Doxygen doesn't like
+# duplicated directories in the input list.
+GSTREAMERMM_DOXYGEN_INPUT=''
+gstmm_srcdir=`cd "$srcdir" && pwd`
+gstmm_builddir=`pwd`
+for sublib in gstreamer gstreamerbase
+do
+  if [ "x$gstmm_builddir"  = "x$gstmm_srcdir" ]; then
+    GSTREAMERMM_DOXYGEN_INPUT="$GSTREAMERMM_DOXYGEN_INPUT $gstmm_builddir/$sublib/$sublib""mm/"
+  else
+    GSTREAMERMM_DOXYGEN_INPUT="$GSTREAMERMM_DOXYGEN_INPUT $gstmm_srcdir/$sublib/$sublib""mm/"
+  fi
+done
+AC_SUBST(GSTREAMERMM_DOXYGEN_INPUT)
+
 AC_ARG_ENABLE(docs, [AC_HELP_STRING([--enable-docs],
               [build the included docs [default=yes]])],,
                       [enable_docs=yes])

Modified: gstreamermm/trunk/docs/reference/Doxyfile.in
==============================================================================
--- gstreamermm/trunk/docs/reference/Doxyfile.in	(original)
+++ gstreamermm/trunk/docs/reference/Doxyfile.in	Tue Mar 25 17:44:58 2008
@@ -459,7 +459,7 @@
 # directories like "/usr/src/myproject". Separate the files or directories 
 # with spaces.
 
-INPUT                  = @top_srcdir@/gstreamer/gstreamermm  @top_srcdir@/docs/reference/reference-index.txt
+INPUT                  = @GSTREAMERMM_DOXYGEN_INPUT@
 
 # If the value of the INPUT tag contains directories, you can use the 
 # FILE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]