zfs/etc/systemd/system-generators/Makefile.am

17 lines
475 B
Makefile
Raw Normal View History

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)