summaryrefslogtreecommitdiffstats
path: root/etc/default/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'etc/default/Makefile.am')
-rw-r--r--etc/default/Makefile.am13
1 files changed, 3 insertions, 10 deletions
diff --git a/etc/default/Makefile.am b/etc/default/Makefile.am
index afc3a81f6..0ec868e13 100644
--- a/etc/default/Makefile.am
+++ b/etc/default/Makefile.am
@@ -1,12 +1,5 @@
-initconfdir = $(DEFAULT_INITCONF_DIR)
-initconf_SCRIPTS = zfs
-
-EXTRA_DIST = \
- zfs.in
+include $(top_srcdir)/config/Substfiles.am
-$(initconf_SCRIPTS):%:%.in Makefile
- $(SED) \
- -e 's,@sysconfdir\@,$(sysconfdir),g' \
- $< >'$@'
+initconf_SCRIPTS = zfs
-CLEANFILES = $(initconf_SCRIPTS)
+SUBSTFILES += $(initconf_SCRIPTS)