summaryrefslogtreecommitdiff
path: root/data/Makefile.am
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-07-21 16:55:44 +0200
committerLennart Poettering <lennart@poettering.net>2010-08-12 00:10:35 +0200
commit5a81bb666df3d8469d282e63d452ac2dea96b313 (patch)
treef860fc43670313a1104050f5da9aa2aa05df8d3e /data/Makefile.am
parent30f0968b9a7f544d1afc8908888dc403be6112b8 (diff)
downloadConsoleKit2-5a81bb666df3d8469d282e63d452ac2dea96b313.tar.gz
systemd: install systemd unit files
Diffstat (limited to 'data/Makefile.am')
-rw-r--r--data/Makefile.am12
1 files changed, 11 insertions, 1 deletions
diff --git a/data/Makefile.am b/data/Makefile.am
index 041b431..8c0490a 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -20,6 +20,15 @@ service_DATA = $(service_in_files:.service.in=.service)
$(service_DATA): $(service_in_files) Makefile
$(edit) $< >$@
+if HAVE_SYSTEMD
+systemdsystemunit_DATA = \
+ console-kit-daemon.service
+
+console-kit-daemon.service: console-kit-daemon.service.in
+ $(edit) $< >$@
+
+endif
+
edit = sed \
-e 's|@sbindir[@]|$(sbindir)|g' \
-e 's|@sysconfdir[@]|$(sysconfdir)|g' \
@@ -33,10 +42,11 @@ EXTRA_DIST = \
$(dbusconf_DATA) \
$(seat_DATA) \
$(service_in_files) \
+ console-kit-daemon.service.in \
$(NULL)
MAINTAINERCLEANFILES = \
*~ \
Makefile.in
-CLEANFILES = $(service_DATA)
+CLEANFILES = $(service_DATA) console-kit-daemon.service