diff options
Diffstat (limited to 'data')
-rw-r--r-- | data/Makefile.am | 13 | ||||
-rw-r--r-- | data/indicator-keyboard.indicator | 4 | ||||
-rw-r--r-- | data/indicator-keyboard.service.in | 3 |
3 files changed, 13 insertions, 7 deletions
diff --git a/data/Makefile.am b/data/Makefile.am index 86959845..6171aaf0 100644 --- a/data/Makefile.am +++ b/data/Makefile.am @@ -1,7 +1,20 @@ servicedir = $(DBUS_SERVICE_DIR) dist_service_DATA = indicator-keyboard.service +indicator-keyboard.service: + $(AM_V_GEN) (echo '[D-BUS Service]'; \ + echo 'Name=com.canonical.indicator.keyboard'; \ + echo 'Exec=${libexecdir}/indicator-keyboard-service') > $@.tmp && \ + mv $@.tmp $@ + indicatordir = $(INDICATOR_DIR) dist_indicator_DATA = indicator-keyboard.indicator +indicator-keyboard.indicator: + $(AM_V_GEN) (echo '[Indicator Service]'; \ + echo 'Name=indicator-keyboard'; \ + echo 'BusName=com.canonical.indicator.keyboard'; \ + echo 'ObjectPath=/com/canonical/indicator/keyboard') > $@.tmp && \ + mv $@.tmp $@ + EXTRA_DIST = $(dist_service_DATA) $(dist_indicator_DATA) diff --git a/data/indicator-keyboard.indicator b/data/indicator-keyboard.indicator deleted file mode 100644 index 8f2cab12..00000000 --- a/data/indicator-keyboard.indicator +++ /dev/null @@ -1,4 +0,0 @@ -[Indicator Service] -Name=indicator-keyboard -BusName=com.canonical.indicator.keyboard -ObjectPath=/com/canonical/indicator/keyboard diff --git a/data/indicator-keyboard.service.in b/data/indicator-keyboard.service.in deleted file mode 100644 index 775f00bc..00000000 --- a/data/indicator-keyboard.service.in +++ /dev/null @@ -1,3 +0,0 @@ -[D-BUS Service] -Name=com.canonical.indicator.keyboard -Exec=@libexecdir@/indicator-keyboard-service |