2014-01-19 14:36:49 +00:00
|
|
|
systemdpreset_DATA = \
|
2014-06-09 21:55:31 +00:00
|
|
|
50-zfs.preset
|
|
|
|
|
2014-01-19 14:36:49 +00:00
|
|
|
systemdunit_DATA = \
|
2015-09-23 21:04:17 +00:00
|
|
|
zfs-zed.service \
|
2014-06-09 21:55:31 +00:00
|
|
|
zfs-import-cache.service \
|
|
|
|
zfs-import-scan.service \
|
|
|
|
zfs-mount.service \
|
|
|
|
zfs-share.service \
|
2019-07-17 22:33:05 +00:00
|
|
|
zfs-volume-wait.service \
|
2017-10-30 20:18:26 +00:00
|
|
|
zfs-import.target \
|
2019-07-17 22:33:05 +00:00
|
|
|
zfs-volumes.target \
|
2014-06-09 21:55:31 +00:00
|
|
|
zfs.target
|
2014-01-19 14:36:49 +00:00
|
|
|
|
|
|
|
EXTRA_DIST = \
|
2015-09-23 21:04:17 +00:00
|
|
|
$(top_srcdir)/etc/systemd/system/zfs-zed.service.in \
|
2014-01-19 14:36:49 +00:00
|
|
|
$(top_srcdir)/etc/systemd/system/zfs-import-cache.service.in \
|
2014-03-11 19:33:32 +00:00
|
|
|
$(top_srcdir)/etc/systemd/system/zfs-import-scan.service.in \
|
2014-01-19 14:36:49 +00:00
|
|
|
$(top_srcdir)/etc/systemd/system/zfs-mount.service.in \
|
|
|
|
$(top_srcdir)/etc/systemd/system/zfs-share.service.in \
|
2017-10-30 20:18:26 +00:00
|
|
|
$(top_srcdir)/etc/systemd/system/zfs-import.target.in \
|
2019-07-17 22:33:05 +00:00
|
|
|
$(top_srcdir)/etc/systemd/system/zfs-volume-wait.service.in \
|
|
|
|
$(top_srcdir)/etc/systemd/system/zfs-volumes.target.in \
|
2014-01-19 14:36:49 +00:00
|
|
|
$(top_srcdir)/etc/systemd/system/zfs.target.in \
|
|
|
|
$(top_srcdir)/etc/systemd/system/50-zfs.preset.in
|
|
|
|
|
2016-07-29 23:35:33 +00:00
|
|
|
$(systemdunit_DATA) $(systemdpreset_DATA):%:%.in
|
2014-01-19 14:36:49 +00:00
|
|
|
-$(SED) -e 's,@bindir\@,$(bindir),g' \
|
2014-03-11 19:33:32 +00:00
|
|
|
-e 's,@runstatedir\@,$(runstatedir),g' \
|
2014-01-19 14:36:49 +00:00
|
|
|
-e 's,@sbindir\@,$(sbindir),g' \
|
|
|
|
-e 's,@sysconfdir\@,$(sysconfdir),g' \
|
2016-07-29 23:35:33 +00:00
|
|
|
$< >'$@'
|
2014-01-19 14:36:49 +00:00
|
|
|
|
2019-08-16 15:02:32 +00:00
|
|
|
install-data-hook:
|
|
|
|
$(MKDIR_P) "$(DESTDIR)$(systemdunitdir)"
|
|
|
|
ln -s /dev/null "$(DESTDIR)$(systemdunitdir)/zfs-import.service"
|
|
|
|
|
2014-01-19 14:36:49 +00:00
|
|
|
distclean-local::
|
|
|
|
-$(RM) $(systemdunit_DATA) $(systemdpreset_DATA)
|