aboutsummaryrefslogtreecommitdiffstats
path: root/etc/systemd/system/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'etc/systemd/system/Makefile.am')
-rw-r--r--etc/systemd/system/Makefile.am19
1 files changed, 10 insertions, 9 deletions
diff --git a/etc/systemd/system/Makefile.am b/etc/systemd/system/Makefile.am
index b7a8db243..82aedd1ea 100644
--- a/etc/systemd/system/Makefile.am
+++ b/etc/systemd/system/Makefile.am
@@ -1,12 +1,13 @@
systemdpreset_DATA = \
- $(top_srcdir)/etc/systemd/system/50-zfs.preset
+ 50-zfs.preset
+
systemdunit_DATA = \
- $(top_srcdir)/etc/systemd/system/zed.service \
- $(top_srcdir)/etc/systemd/system/zfs-import-cache.service \
- $(top_srcdir)/etc/systemd/system/zfs-import-scan.service \
- $(top_srcdir)/etc/systemd/system/zfs-mount.service \
- $(top_srcdir)/etc/systemd/system/zfs-share.service \
- $(top_srcdir)/etc/systemd/system/zfs.target
+ zed.service \
+ zfs-import-cache.service \
+ zfs-import-scan.service \
+ zfs-mount.service \
+ zfs-share.service \
+ zfs.target
EXTRA_DIST = \
$(top_srcdir)/etc/systemd/system/zed.service.in \
@@ -22,14 +23,14 @@ $(systemdunit_DATA):
-e 's,@runstatedir\@,$(runstatedir),g' \
-e 's,@sbindir\@,$(sbindir),g' \
-e 's,@sysconfdir\@,$(sysconfdir),g' \
+ "$(top_srcdir)/etc/systemd/system/[email protected]" >'$@'
$(systemdpreset_DATA):
-$(SED) -e 's,@bindir\@,$(bindir),g' \
-e 's,@runstatedir\@,$(runstatedir),g' \
-e 's,@sbindir\@,$(sbindir),g' \
-e 's,@sysconfdir\@,$(sysconfdir),g' \
+ "$(top_srcdir)/etc/systemd/system/[email protected]" >'$@'
distclean-local::
-$(RM) $(systemdunit_DATA) $(systemdpreset_DATA)