summaryrefslogtreecommitdiffstats
path: root/udev/rules.d/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'udev/rules.d/Makefile.am')
-rw-r--r--udev/rules.d/Makefile.am14
1 files changed, 14 insertions, 0 deletions
diff --git a/udev/rules.d/Makefile.am b/udev/rules.d/Makefile.am
new file mode 100644
index 000000000..41740517e
--- /dev/null
+++ b/udev/rules.d/Makefile.am
@@ -0,0 +1,14 @@
+udevrule_DATA = \
+ 60-zpool.rules \
+ 60-zvol.rules
+
+EXTRA_DIST = \
+ 60-zpool.rules.in \
+ 60-zvol.rules.in
+
+$(udevrule_DATA):
+ -$(SED) -e 's,@udevdir\@,$(udevdir),g' '[email protected]' >'$@'
+
+distclean-local::
+ -$(RM) $(udevrule_DATA)
+