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.am12
1 files changed, 12 insertions, 0 deletions
diff --git a/etc/default/Makefile.am b/etc/default/Makefile.am
new file mode 100644
index 000000000..f35abd8e5
--- /dev/null
+++ b/etc/default/Makefile.am
@@ -0,0 +1,12 @@
+initconfdir = $(DEFAULT_INITCONF_DIR)
+initconf_SCRIPTS = zfs
+
+EXTRA_DIST = \
+ $(top_srcdir)/etc/default/zfs.in
+
+$(initconf_SCRIPTS):%:%.in Makefile
+ $(SED) \
+ -e 's,@sysconfdir\@,$(sysconfdir),g' \
+ $< >'$@'
+
+CLEANFILES = $(initconf_SCRIPTS)