aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2011-02-10 22:03:01 -0600
committerTed Gould <ted@gould.cx>2011-02-10 22:03:01 -0600
commit2c30d6934b037d865fb835faea985845fbb2c266 (patch)
tree3f87839cf6a211e9082dc7a4f94c0ef56cf2d09c /docs
parentb1842091e350f0483561435bc49afbbba99f9468 (diff)
downloadlibayatana-appindicator-2c30d6934b037d865fb835faea985845fbb2c266.tar.gz
libayatana-appindicator-2c30d6934b037d865fb835faea985845fbb2c266.tar.bz2
libayatana-appindicator-2c30d6934b037d865fb835faea985845fbb2c266.zip
Ensure that we're building with the right library
Diffstat (limited to 'docs')
-rw-r--r--docs/reference/Makefile.am10
1 files changed, 9 insertions, 1 deletions
diff --git a/docs/reference/Makefile.am b/docs/reference/Makefile.am
index e08f47f..8f87b34 100644
--- a/docs/reference/Makefile.am
+++ b/docs/reference/Makefile.am
@@ -3,6 +3,14 @@
# We require automake 1.6 at least.
AUTOMAKE_OPTIONS = 1.6
+if USE_GTK3
+VER=3
+APPINDICATORLIB = libappindicator3.la
+else
+VER=
+APPINDICATORLIB = libappindicator.la
+endif
+
# This is a blank Makefile.am for using gtk-doc.
# Copy this to your project's API docs directory and modify the variables to
# suit your project. See the GTK+ Makefiles in gtk+/docs/reference for examples
@@ -91,7 +99,7 @@ expand_content_files=
# e.g. GTKDOC_CFLAGS=-I$(top_srcdir) -I$(top_builddir) $(GTK_DEBUG_FLAGS)
# e.g. GTKDOC_LIBS=$(top_builddir)/gtk/$(gtktargetlib)
GTKDOC_CFLAGS=-I$(top_srcdir) -I$(top_srcdir)/src -I$(top_srcdir)/src $(LIBRARY_CFLAGS)
-GTKDOC_LIBS=$(top_builddir)/src/$(DOC_MODULE).la $(LIBRARY_LIBS)
+GTKDOC_LIBS=$(top_builddir)/src/$(APPINDICATORLIB) $(LIBRARY_LIBS)
# This includes the standard gtk-doc make rules, copied by gtkdocize.
include $(top_srcdir)/gtk-doc.local.make