zfs-builds-mm/zfs-0.8.4/etc/systemd/system-generators/Makefile.am
2020-07-19 16:21:53 +02:00

16 lines
475 B
Makefile

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)