aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--data/Makefile.am24
-rw-r--r--data/indicator-sound.service.in2
2 files changed, 11 insertions, 15 deletions
diff --git a/data/Makefile.am b/data/Makefile.am
index 730f166..3f54f64 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -1,26 +1,20 @@
SUBDIRS = icons
+gsettings_SCHEMAS = \
+ com.canonical.indicators.sound.gschema.xml
+@GSETTINGS_RULES@
+
dbus_servicesdir = $(DBUSSERVICEDIR)
-service_in_files = indicator-sound.service.in
-dbus_services_DATA = $(service_in_files:.service.in=.service)
+dbus_services_DATA = indicator-sound.service
%.service: %.service.in
sed -e "s|\@libexecdir\@|$(libexecdir)|" $< > $@
-##############################
-# GSettings Schema
-##############################
-
-gsettings_SCHEMAS = \
- com.canonical.indicators.sound.gschema.xml
-@GSETTINGS_RULES@
-
-##############################
-EXTRA_DIST = \
- $(service_in_files) \
- $(gsettings_SCHEMAS)
+EXTRA_DIST = \
+ $(gsettings_SCHEMAS) \
+ indicator-sound.service.in
-CLEANFILES = \
+CLEANFILES = \
$(dbus_services_DATA)
\ No newline at end of file
diff --git a/data/indicator-sound.service.in b/data/indicator-sound.service.in
index 883d31d..7a957cb 100644
--- a/data/indicator-sound.service.in
+++ b/data/indicator-sound.service.in
@@ -1,3 +1,5 @@
[D-BUS Service]
Name=org.ayatana.indicator.sound
Exec=@libexecdir@/indicator-sound-service
+
+