[seahorse] Bug 585538 – Add GTK-Doc comments



commit 58ab74fcf5d356a18e700963581e1f83516505df
Author: Adam Schreiber <sadam gnome org>
Date:   Tue Aug 11 12:46:01 2009 -0400

    Bug 585538 â?? Add GTK-Doc comments
    
    Build magic for gtk-doc comments in libseahorse

 configure.in                      |    2 +
 reference/Makefile.am             |    3 +-
 reference/libseahorse/Makefile.am |   65 +++++++++++++++++++++++++++++++++++++
 3 files changed, 69 insertions(+), 1 deletions(-)
---
diff --git a/configure.in b/configure.in
index 225bc33..054559a 100644
--- a/configure.in
+++ b/configure.in
@@ -604,6 +604,8 @@ daemon/Makefile
 reference/Makefile
 reference/libcryptui/Makefile
 reference/libcryptui/version.xml
+reference/libseahorse/Makefile
+reference/libseahorse/version.xml
 ])
 
 dnl ****************************************************************************
diff --git a/reference/Makefile.am b/reference/Makefile.am
index 641db7c..1061052 100644
--- a/reference/Makefile.am
+++ b/reference/Makefile.am
@@ -1 +1,2 @@
-SUBDIRS = libcryptui
+SUBDIRS = libcryptui \
+          libseahorse
diff --git a/reference/libseahorse/Makefile.am b/reference/libseahorse/Makefile.am
new file mode 100644
index 0000000..98f7bb2
--- /dev/null
+++ b/reference/libseahorse/Makefile.am
@@ -0,0 +1,65 @@
+AUTOMAKE_OPTIONS = 1.6
+
+# The name of the module.
+DOC_MODULE=libseahorse
+
+# The top-level SGML file.
+DOC_MAIN_SGML_FILE=libseahorse-docs.sgml
+
+# Extra options to supply to gtkdoc-scan
+SCAN_OPTIONS=--deprecated-guards="GTK_ENABLE_BROKEN|GTK_DISABLE_DEPRECATED" 
+
+# Extra options to pass to gtkdoc-scangobj
+SCANGOBJ_OPTIONS=--type-init-func="gtk_type_init(0)" 
+
+# The directory containing the source code. Relative to $(srcdir)
+DOC_SOURCE_DIR=../../libseahorse
+
+# Used for dependencies
+HFILE_GLOB=$(top_srcdir)/libseahorse/*.h
+CFILE_GLOB=$(top_srcdir)/libseahorse/*.c
+
+# Header files to ignore when scanning
+IGNORE_HFILES=
+
+# CFLAGS and LDFLAGS for compiling scan program. Only needed
+# if $(DOC_MODULE).types is non-empty.
+INCLUDES = \
+	-I$(top_srcdir) 	\
+	-I../../libseahorse 	\
+	-DGTK_ENABLE_BROKEN
+	
+CFLAGS = $(GTK_CFLAGS)
+LIBS = $(GTK_LIBS)
+
+CPPFLAGS += \
+	-UGTK_DISABLE_SINGLE_INCLUDES
+
+GTKDOC_LIBS = ../../libseahorse/libseahorse.la
+#	$(top_builddir)/gdk-pixbuf/libgdk_pixbuf-$(GTK_API_VERSION).la	\
+#	$(top_builddir)/gdk/$(gdktargetlib)        			\
+#	$(top_builddir)/gtk/$(gtktargetlib)
+
+
+# Extra options to supply to gtkdoc-mkdb
+MKDB_OPTIONS=--sgml-mode --output-format=xml --name-space=seahorse
+
+# Extra SGML files that are included by $(DOC_MAIN_SGML_FILE)
+content_files = version.xml
+
+expand_content_files =
+
+# Images to copy into HTML directory
+HTML_IMAGES = 
+# Extra options to supply to gtkdoc-fixref
+FIXXREF_OPTIONS= \
+	--extra-dir=$(GLIB_PREFIX)/share/gtk-doc/html/gobject \
+	--extra-dir=$(GLIB_PREFIX)/share/gtk-doc/html/glib \
+	--extra-dir=$(ATK_PREFIX)/share/gtk-doc/html/atk \
+	--extra-dir=$(PANGO_PREFIX)/share/gtk-doc/html/pango \
+	--extra-dir=$(CAIRO_PREFIX)/share/gtk-doc/html/cairo
+
+include $(top_srcdir)/gtk-doc.make
+
+# Other files to distribute
+EXTRA_DIST += version.xml.in



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