aboutsummaryrefslogtreecommitdiffstats
path: root/etc/systemd/system-generators/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'etc/systemd/system-generators/Makefile.am')
-rw-r--r--etc/systemd/system-generators/Makefile.am14
1 files changed, 3 insertions, 11 deletions
diff --git a/etc/systemd/system-generators/Makefile.am b/etc/systemd/system-generators/Makefile.am
index 1a3efce32..fee88dad8 100644
--- a/etc/systemd/system-generators/Makefile.am
+++ b/etc/systemd/system-generators/Makefile.am
@@ -1,14 +1,6 @@
+include $(top_srcdir)/config/Substfiles.am
+
systemdgenerator_SCRIPTS = \
zfs-mount-generator
-EXTRA_DIST = \
- 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' \
- $< >'$@'
-
-CLEANFILES = $(systemdgenerator_SCRIPTS)
+SUBSTFILES += $(systemdgenerator_SCRIPTS)