diff options
Diffstat (limited to 'data')
-rw-r--r-- | data/Makefile.am | 13 | ||||
-rw-r--r-- | data/indicator-session.service.in | 2 | ||||
-rw-r--r-- | data/indicator-status.service.in | 2 | ||||
-rw-r--r-- | data/indicator-users.service.in | 2 |
4 files changed, 13 insertions, 6 deletions
diff --git a/data/Makefile.am b/data/Makefile.am index de1d603..03e4cb8 100644 --- a/data/Makefile.am +++ b/data/Makefile.am @@ -1,5 +1,12 @@ dbus_servicesdir = $(DBUSSERVICEDIR) -dbus_services_DATA = indicator-status.service \ - indicator-users.service \ - indicator-session.service +service_in_files = indicator-status.service.in \ + indicator-users.service.in \ + indicator-session.service.in +dbus_services_DATA = $(service_in_files:.service.in=.service) + +$(dbus_services_DATA): $(service_in_files) Makefile + @sed -e "s|\@libexecdir\@|$(libexecdir)|" $< > $@ + +EXTRA_DIST = $(service_in_files) + diff --git a/data/indicator-session.service.in b/data/indicator-session.service.in index 8d63285..790600a 100644 --- a/data/indicator-session.service.in +++ b/data/indicator-session.service.in @@ -1,3 +1,3 @@ [D-BUS Service] Name=com.ubuntu.indicator.session -Exec=@libexec@/indicator-session-service +Exec=@libexecdir@/indicator-session-service diff --git a/data/indicator-status.service.in b/data/indicator-status.service.in index c2b3b28..9fe92ad 100644 --- a/data/indicator-status.service.in +++ b/data/indicator-status.service.in @@ -1,3 +1,3 @@ [D-BUS Service] Name=com.ubuntu.indicator.status -Exec=@libexec@/indicator-status-service +Exec=@libexecdir@/indicator-status-service diff --git a/data/indicator-users.service.in b/data/indicator-users.service.in index 7ffbaa1..2843743 100644 --- a/data/indicator-users.service.in +++ b/data/indicator-users.service.in @@ -1,3 +1,3 @@ [D-BUS Service] Name=com.ubuntu.indicator.users -Exec=@libexec@/indicator-users-service +Exec=@libexecdir@/indicator-users-service |