diff options
Diffstat (limited to 'data/Makefile.am')
-rw-r--r-- | data/Makefile.am | 13 |
1 files changed, 10 insertions, 3 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) + |