Fix for broken API doc build



The attached simple patch fixes a bad path for gtkdoc-mkdb which
caused the *.c inline comments to never get parsed.  This should make
the generated docs quite a bit more useful.  (c;

John

-- 
dusk ravendusk org                            http://www.gnome.org
jsheets codeweavers com                  http://www.worldforge.org
jsheets users sourceforge net     http://openbooks.sourceforge.net
               http://advogato.org/person/jsheets

                   Writing Gnome Applications
          http://www.aw.com/cseng/titles/0-201-65791-0/
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/bonobo/ChangeLog,v
retrieving revision 1.959
diff -u -r1.959 ChangeLog
--- ChangeLog	2001/02/13 22:11:50	1.959
+++ ChangeLog	2001/02/14 18:48:10
@@ -1,3 +1,10 @@
+2001-02-14  John R. Sheets  <dusk ravendusk org>
+
+	* doc/api/Makefile.am (LDFLAGS): Add missing double-quotes
+	(sgml): Changed gtkdoc-mkdb --source-dir to point to
+	$(top_srcdir), rather than the hard-coded '..'.  This should now
+	fix the broken API build, and allow gtkdoc to find *.c comments.
+
 2001-02-13  Dan Winship  <danw ximian com>
 
 	* bonobo/bonobo-listener.c (impl_Bonobo_Listener_event): ref the
Index: doc/api/Makefile.am
===================================================================
RCS file: /cvs/gnome/bonobo/doc/api/Makefile.am,v
retrieving revision 1.8
diff -u -r1.8 Makefile.am
--- doc/api/Makefile.am	2000/12/04 07:21:34	1.8
+++ doc/api/Makefile.am	2001/02/14 18:48:10
@@ -10,7 +10,7 @@
 DOC_SOURCE_DIR=$(top_srcdir)/bonobo
 
 CFLAGS="-I../.. `gnome-config --cflags bonobo bonobox bonobox_print`"
-LDFLAGS=`gnome-config --libs bonobox bonobox_print`
+LDFLAGS="`gnome-config --libs bonobox bonobox_print`"
 
 TARGET_DIR=$(HTML_DIR)/$(DOC_MODULE)
 
@@ -114,7 +114,7 @@
 
 sgml:
 	cd $(srcdir) \
-	&& gtkdoc-mkdb --module=$(DOC_MODULE) --source-dir=..
+	&& gtkdoc-mkdb --module=$(DOC_MODULE) --source-dir=$(top_srcdir)
 
 html:
 	test -d $(srcdir)/html || mkdir $(srcdir)/html


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