aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Uebernickel <lars.uebernickel@canonical.com>2013-06-19 14:58:12 -0400
committerLars Uebernickel <lars.uebernickel@canonical.com>2013-06-19 14:58:12 -0400
commit356fd4ed9c9d394a8e4128accc93628df1b931d8 (patch)
treec30721291ad9bbfc1cae384bf27fca3cb390e476
parentf749725dd5609b98465582496c116eaad28ee696 (diff)
downloadayatana-indicator-sound-356fd4ed9c9d394a8e4128accc93628df1b931d8.tar.gz
ayatana-indicator-sound-356fd4ed9c9d394a8e4128accc93628df1b931d8.tar.bz2
ayatana-indicator-sound-356fd4ed9c9d394a8e4128accc93628df1b931d8.zip
Install indicator file
-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