aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac6
-rw-r--r--data/Makefile.am5
-rw-r--r--data/com.canonical.indicator.sound (renamed from src/com.canonical.indicator.sound)0
3 files changed, 10 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index d5713a4..71fb4aa 100644
--- a/configure.ac
+++ b/configure.ac
@@ -71,6 +71,12 @@ else
fi
AC_SUBST(DBUSSERVICEDIR)
+AC_ARG_WITH([indicator-dir],
+ [AS_HELP_STRING([--with-indicator-dir=DIR], [Indicator directory [default=$datadir/unity/indicators]])],
+ [],
+ [with_indicator_dir=$datadir/unity/indicators])
+AC_SUBST([INDICATOR_DIR], [$with_indicator_dir])
+
##############################
# Custom Junk
##############################
diff --git a/data/Makefile.am b/data/Makefile.am
index 2891606..243662c 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -10,10 +10,13 @@ dbus_services_DATA = indicator-sound.service
%.service: %.service.in
sed -e "s|\@libexecdir\@|$(libexecdir)|" $< > $@
+indicatordir = $(INDICATOR_DIR)
+dist_indicator_DATA = com.canonical.indicator.sound
+
EXTRA_DIST = \
$(gsettings_SCHEMAS) \
indicator-sound.service.in
CLEANFILES = \
$(dbus_services_DATA)
- \ No newline at end of file
+
diff --git a/src/com.canonical.indicator.sound b/data/com.canonical.indicator.sound
index 825fd30..825fd30 100644
--- a/src/com.canonical.indicator.sound
+++ b/data/com.canonical.indicator.sound