diff options
author | Ted Gould <ted@gould.cx> | 2011-02-10 22:18:21 -0600 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2011-02-10 22:18:21 -0600 |
commit | 4044f927a2764ea2414eb423ce054989ecf0386e (patch) | |
tree | 92b11e331d6e21f27f7c7db37a2d177902ca02e6 /docs/reference/Makefile.am | |
parent | e5b56ecf9a05381c8ba725f53f064c2c8569ea8f (diff) | |
parent | 4d24048fffc19e52adb9c0fc4e4a35f3c96faae7 (diff) | |
download | libayatana-appindicator-4044f927a2764ea2414eb423ce054989ecf0386e.tar.gz libayatana-appindicator-4044f927a2764ea2414eb423ce054989ecf0386e.tar.bz2 libayatana-appindicator-4044f927a2764ea2414eb423ce054989ecf0386e.zip |
Fix the build so we can distcheck with GTK 2 and 3
Diffstat (limited to 'docs/reference/Makefile.am')
-rw-r--r-- | docs/reference/Makefile.am | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/docs/reference/Makefile.am b/docs/reference/Makefile.am index ae23e0b..8f87b34 100644 --- a/docs/reference/Makefile.am +++ b/docs/reference/Makefile.am @@ -3,18 +3,21 @@ # 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 # of using the various options. # The name of the module, e.g. 'glib'. -if USE_GTK3 -DOC_MODULE=libappindicator3 -else DOC_MODULE=libappindicator -endif - # Uncomment for versioned docs and specify the version of the module, e.g. '2'. #DOC_MODULE_VERSION=2 @@ -96,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 |