From e3e1864c679e109aca969fb536ba377204bebb2f Mon Sep 17 00:00:00 2001 From: "Gergely POLONKAI (W00d5t0ck)" Date: Thu, 5 Sep 2013 15:52:27 +0200 Subject: [PATCH] Made Gtk Doc work succesfully --- configure.ac | 3 +++ docs/reference/swe-glib/Makefile.am | 6 +++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index a662da6..04753d8 100644 --- a/configure.ac +++ b/configure.ac @@ -30,6 +30,9 @@ AC_CONFIG_MACRO_DIR([m4]) LIBSWE_LIBS='$(top_builddir)/swe/src/libswe-1.75.la' AC_SUBST(LIBSWE_LIBS) +LIBSWE_GLIB_LIBS='$(top_builddir)/src/libswe-glib-0.1.la' +AC_SUBST(LIBSWE_GLIB_LIBS) + AC_CONFIG_FILES([ Makefile swe/src/Makefile diff --git a/docs/reference/swe-glib/Makefile.am b/docs/reference/swe-glib/Makefile.am index ae279ea..12a466d 100644 --- a/docs/reference/swe-glib/Makefile.am +++ b/docs/reference/swe-glib/Makefile.am @@ -22,7 +22,7 @@ DOC_MAIN_SGML_FILE=$(DOC_MODULE)-docs.xml # gtk-doc will search all .c and .h files beneath these paths # for inline comments documenting functions and macros. # e.g. DOC_SOURCE_DIR=$(top_srcdir)/gtk $(top_srcdir)/gdk -DOC_SOURCE_DIR=$(top_srcdir)/swe-glib/src +DOC_SOURCE_DIR=$(top_srcdir)/src # Extra options to pass to gtkdoc-scangobj. Not normally needed. SCANGOBJ_OPTIONS= @@ -49,8 +49,8 @@ FIXXREF_OPTIONS= # Used for dependencies. The docs will be rebuilt if any of these change. # e.g. HFILE_GLOB=$(top_srcdir)/gtk/*.h # e.g. CFILE_GLOB=$(top_srcdir)/gtk/*.c -HFILE_GLOB=$(top_srcdir)/swe-glib/src/*.h -CFILE_GLOB=$(top_srcdir)/swe-glib/src/*.c +HFILE_GLOB=$(top_srcdir)/src/*.h +CFILE_GLOB=$(top_srcdir)/src/*.c # Extra header to include when scanning, which are not under DOC_SOURCE_DIR # e.g. EXTRA_HFILES=$(top_srcdir}/contrib/extra.h