aboutsummaryrefslogtreecommitdiffstats
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.am18
1 files changed, 12 insertions, 6 deletions
diff --git a/udev/rules.d/Makefile.am b/udev/rules.d/Makefile.am
index 41740517e..bb4eedfe9 100644
--- a/udev/rules.d/Makefile.am
+++ b/udev/rules.d/Makefile.am
@@ -1,14 +1,20 @@
udevrule_DATA = \
- 60-zpool.rules \
- 60-zvol.rules
+ $(top_srcdir)/udev/rules.d/60-zpool.rules \
+ $(top_srcdir)/udev/rules.d/60-zvol.rules \
+ $(top_srcdir)/udev/rules.d/90-zfs.rules
EXTRA_DIST = \
- 60-zpool.rules.in \
- 60-zvol.rules.in
+ $(top_srcdir)/udev/rules.d/60-zpool.rules.in \
+ $(top_srcdir)/udev/rules.d/60-zvol.rules.in \
+ $(top_srcdir)/udev/rules.d/90-zfs.rules.in
$(udevrule_DATA):
- -$(SED) -e 's,@udevdir\@,$(udevdir),g' '[email protected]' >'$@'
+ -$(SED) -e 's,@bindir\@,$(bindir),g' \
+ -e 's,@sbindir\@,$(sbindir),g' \
+ -e 's,@udevdir\@,$(udevdir),g' \
+ -e 's,@udevruledir\@,$(udevruledir),g' \
+ -e 's,@sysconfdir\@,$(sysconfdir),g' \
distclean-local::
-$(RM) $(udevrule_DATA)
-