diff options
Diffstat (limited to 'udev')
-rw-r--r-- | udev/rules.d/Makefile.am | 17 |
1 files changed, 3 insertions, 14 deletions
diff --git a/udev/rules.d/Makefile.am b/udev/rules.d/Makefile.am index 82f13e078..72f47d6f2 100644 --- a/udev/rules.d/Makefile.am +++ b/udev/rules.d/Makefile.am @@ -1,19 +1,8 @@ +include $(top_srcdir)/config/Substfiles.am + udevrule_DATA = \ 69-vdev.rules \ 60-zvol.rules \ 90-zfs.rules -EXTRA_DIST = \ - 69-vdev.rules.in \ - 60-zvol.rules.in \ - 90-zfs.rules.in - -$(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' \ - $< > '$@' - -CLEANFILES = $(udevrule_DATA) +SUBSTFILES += $(udevrule_DATA) |