aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-06-08 14:45:38 -0500
committerTed Gould <ted@canonical.com>2009-06-08 14:45:38 -0500
commitd68a776f7c88fc1304572e4739a65ee1b93688e4 (patch)
tree733d8424be1121bdc86e968d6eb3b19025414821
parent95ed5305c6ea74655085c70b413de68391226a1b (diff)
downloadayatana-indicator-session-d68a776f7c88fc1304572e4739a65ee1b93688e4.tar.gz
ayatana-indicator-session-d68a776f7c88fc1304572e4739a65ee1b93688e4.tar.bz2
ayatana-indicator-session-d68a776f7c88fc1304572e4739a65ee1b93688e4.zip
Switching the pkgconfig based directory.
-rw-r--r--configure.ac7
-rw-r--r--src/Makefile.am2
2 files changed, 8 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 84df5c8..09aabfb 100644
--- a/configure.ac
+++ b/configure.ac
@@ -32,6 +32,13 @@ AC_SUBST(APPLET_CFLAGS)
AC_SUBST(APPLET_LIBS)
###########################
+# Indicator Info
+###########################
+
+INDICATORDIR=`$PKG_CONFIG --variable=indicatordir indicator`
+AC_SUBST(INDICATORDIR)
+
+###########################
# Files
###########################
diff --git a/src/Makefile.am b/src/Makefile.am
index c29d179..3bae3f2 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1,5 +1,5 @@
-fusalibdir = $(libdir)/indicators/1
+fusalibdir = $(INDICATORDIR)
fusalib_LTLIBRARIES = libfusa.la
libfusa_la_SOURCES = indicator-fusa.c
libfusa_la_CFLAGS = $(APPLET_CFLAGS)