2014-01-19 18:36:49 +04:00
|
|
|
systemdpreset_DATA = \
|
2014-06-10 01:55:31 +04:00
|
|
|
50-zfs.preset
|
|
|
|
|
2014-01-19 18:36:49 +04:00
|
|
|
systemdunit_DATA = \
|
2015-09-24 00:04:17 +03:00
|
|
|
zfs-zed.service \
|
2014-06-10 01:55:31 +04:00
|
|
|
zfs-import-cache.service \
|
|
|
|
zfs-import-scan.service \
|
|
|
|
zfs-mount.service \
|
|
|
|
zfs-share.service \
|
2019-07-18 01:33:05 +03:00
|
|
|
zfs-volume-wait.service \
|
2017-10-30 23:18:26 +03:00
|
|
|
zfs-import.target \
|
2019-07-18 01:33:05 +03:00
|
|
|
zfs-volumes.target \
|
2014-06-10 01:55:31 +04:00
|
|
|
zfs.target
|
2014-01-19 18:36:49 +04:00
|
|
|
|
|
|
|
EXTRA_DIST = \
|
2020-06-23 00:30:40 +03:00
|
|
|
zfs-zed.service.in \
|
|
|
|
zfs-import-cache.service.in \
|
|
|
|
zfs-import-scan.service.in \
|
|
|
|
zfs-mount.service.in \
|
|
|
|
zfs-share.service.in \
|
|
|
|
zfs-import.target.in \
|
|
|
|
zfs-volume-wait.service.in \
|
|
|
|
zfs-volumes.target.in \
|
|
|
|
zfs.target.in \
|
|
|
|
50-zfs.preset.in
|
2014-01-19 18:36:49 +04:00
|
|
|
|
2016-07-30 02:35:33 +03:00
|
|
|
$(systemdunit_DATA) $(systemdpreset_DATA):%:%.in
|
2014-01-19 18:36:49 +04:00
|
|
|
-$(SED) -e 's,@bindir\@,$(bindir),g' \
|
2014-03-11 23:33:32 +04:00
|
|
|
-e 's,@runstatedir\@,$(runstatedir),g' \
|
2014-01-19 18:36:49 +04:00
|
|
|
-e 's,@sbindir\@,$(sbindir),g' \
|
|
|
|
-e 's,@sysconfdir\@,$(sysconfdir),g' \
|
2016-07-30 02:35:33 +03:00
|
|
|
$< >'$@'
|
2014-01-19 18:36:49 +04:00
|
|
|
|
2019-08-16 18:02:32 +03:00
|
|
|
install-data-hook:
|
|
|
|
$(MKDIR_P) "$(DESTDIR)$(systemdunitdir)"
|
2019-08-22 22:01:41 +03:00
|
|
|
ln -sf /dev/null "$(DESTDIR)$(systemdunitdir)/zfs-import.service"
|
2019-08-16 18:02:32 +03:00
|
|
|
|
2019-08-26 21:48:31 +03:00
|
|
|
# Double-colon rules are allowed; there are multiple independent definitions.
|
2014-01-19 18:36:49 +04:00
|
|
|
distclean-local::
|
|
|
|
-$(RM) $(systemdunit_DATA) $(systemdpreset_DATA)
|