aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)