From: Philip Withnall Date: Sun, 12 Dec 2010 17:06:38 +0000 (+0000) Subject: Add documented libraries to LDFLAGS in the documentation Makefile.am X-Git-Tag: FOLKS_0_3_3~10 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e3ff05da1464e1ea2214293a0255bd0e71f60d85;p=platform%2Fupstream%2Ffolks.git Add documented libraries to LDFLAGS in the documentation Makefile.am gtkdoc-scangobj expects to have the libraries it's linking its scanner program to present in LDFLAGS. gtk-doc.make normally does this automatically for normal gtk-doc-enabled projects, but we need to do it manually. --- diff --git a/docs/Makefile.am b/docs/Makefile.am index feea644..0ad366f 100644 --- a/docs/Makefile.am +++ b/docs/Makefile.am @@ -41,6 +41,17 @@ valadoc_flags = \ --package-version $(PACKAGE_VERSION) \ $(NULL) +# We need to modify LDFLAGS so that gtkdoc-scangobj can find the symbols when +# it comes to link its scanning program. This is what gtk-doc.make does for +# normal gtk-doc-enabled projects. +# FIXME: An enhancement request has been filed against valadoc for it to do this +# automatically for us: https://bugzilla.gnome.org/show_bug.cgi?id=637090 +LDFLAGS = \ + $(abs_top_builddir)/folks/libfolks.la \ + $(abs_top_builddir)/backends/telepathy/lib/libfolks-telepathy.la \ + @LDFLAGS@ \ + $(NULL) + # folks documentation folks_doc_files = $(top_srcdir)/folks/*.vala folks_doc_deps = \