summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorPhilip Withnall <philip.withnall@collabora.co.uk>2010-12-12 17:06:38 +0000
committerPhilip Withnall <philip@tecnocode.co.uk>2010-12-12 17:12:45 +0000
commite3ff05da1464e1ea2214293a0255bd0e71f60d85 (patch)
tree05f07784391e5443e192a9b4bce01c8d621c190b /docs
parent770a429de41c46a7e99686bd600621396cc4ccac (diff)
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.
Diffstat (limited to 'docs')
-rw-r--r--docs/Makefile.am11
1 files changed, 11 insertions, 0 deletions
diff --git a/docs/Makefile.am b/docs/Makefile.am
index feea6447..0ad366fe 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 = \