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.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/udev/rules.d/Makefile.am b/udev/rules.d/Makefile.am
index febbb4818..f79ea4b3c 100644
--- a/udev/rules.d/Makefile.am
+++ b/udev/rules.d/Makefile.am
@@ -8,13 +8,13 @@ EXTRA_DIST = \
$(top_srcdir)/udev/rules.d/60-zvol.rules.in \
$(top_srcdir)/udev/rules.d/90-zfs.rules.in
-$(udevrule_DATA):
+$(udevrule_DATA):%:%.in
-$(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' \
- "$(top_srcdir)/udev/rules.d/[email protected]" > '$@'
+ $< > '$@'
distclean-local::
-$(RM) $(udevrule_DATA)