aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2010-05-20 17:10:38 -0500
committerTed Gould <ted@gould.cx>2010-05-20 17:10:38 -0500
commita403884d2c45e23f3ddf6fa739677cf0759d8665 (patch)
tree84a81248cd0ceed1104335b079f17bb3285e39a4
parenta106e8d3b60167cb0c1b38d28fff93cff90d89ec (diff)
downloadayatana-indicator-application-a403884d2c45e23f3ddf6fa739677cf0759d8665.tar.gz
ayatana-indicator-application-a403884d2c45e23f3ddf6fa739677cf0759d8665.tar.bz2
ayatana-indicator-application-a403884d2c45e23f3ddf6fa739677cf0759d8665.zip
Okay, now everyone is in the right directory, I think.
-rw-r--r--src/Makefile.am12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 8cfd81f..c96bbed 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -66,7 +66,7 @@ pkgconfigdir = $(libdir)/pkgconfig
glib_enum_h = app-indicator-enum-types.h
glib_enum_c = app-indicator-enum-types.gen.c
-glib_enum_headers = $(libappindicator_headers)
+glib_enum_headers = $(addprefix $(srcdir)/, $(libappindicator_headers))
app-indicator-enum-types.c: app-indicator-enum-types.gen.c
sed -e "s|\"passive\"|\"Passive\"|" \
@@ -156,15 +156,17 @@ INTROSPECTION_COMPILER_ARGS = --includedir=$(builddir)
if HAVE_INTROSPECTION
-introspection_sources = $(libappindicatorinclude_HEADERS)
+introspection_sources = \
+ $(addprefix $(srcdir)/,$(libappindicator_headers)) \
+ $(addprefix $(top_builddir)/src/, $(glib_enum_h))
-AppIndicator-0.1.gir: libappindicator.la
+AppIndicator-0.1.gir: libappindicator.la $(glib_enum_h)
AppIndicator_0_1_gir_INCLUDES = \
GObject-2.0 \
Gtk-2.0
-AppIndicator_0_1_gir_CFLAGS = $(INDICATOR_CFLAGS) -I$(srcdir)
+AppIndicator_0_1_gir_CFLAGS = $(INDICATOR_CFLAGS) -I$(srcdir) -I$(top_builddir)/src
AppIndicator_0_1_gir_LIBS = libappindicator.la
-AppIndicator_0_1_gir_FILES = $(addprefix $(srcdir)/, $(introspection_sources))
+AppIndicator_0_1_gir_FILES = $(introspection_sources)
INTROSPECTION_GIRS += AppIndicator-0.1.gir