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 = \
|
2020-06-22 21:30:40 +00: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 14:36:49 +00:00
|
|
|
|
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)"
|
2019-08-22 19:01:41 +00:00
|
|
|
ln -sf /dev/null "$(DESTDIR)$(systemdunitdir)/zfs-import.service"
|
2019-08-16 15:02:32 +00:00
|
|
|
|
2019-08-26 18:48:31 +00:00
|
|
|
# Double-colon rules are allowed; there are multiple independent definitions.
|
2014-01-19 14:36:49 +00:00
|
|
|
distclean-local::
|
|
|
|
-$(RM) $(systemdunit_DATA) $(systemdpreset_DATA)
|