zfs-builds-mm/zfs-0.8.4/etc/systemd/system-generators/Makefile.am

17 lines
475 B
Text
Raw Normal View History

2020-07-19 16:21:53 +02:00
systemdgenerator_SCRIPTS = \
zfs-mount-generator
EXTRA_DIST = \
$(top_srcdir)/etc/systemd/system-generators/zfs-mount-generator.in
$(systemdgenerator_SCRIPTS): %: %.in
-$(SED) -e 's,@bindir\@,$(bindir),g' \
-e 's,@runstatedir\@,$(runstatedir),g' \
-e 's,@sbindir\@,$(sbindir),g' \
-e 's,@sysconfdir\@,$(sysconfdir),g' \
$< >'$@'
# Double-colon rules are allowed; there are multiple independent definitions.
distclean-local::
-$(RM) $(systemdgenerator_SCRIPTS)