2011-08-05 19:22:58 +00:00
|
|
|
udevrule_DATA = \
|
2014-06-09 21:55:31 +00:00
|
|
|
69-vdev.rules \
|
|
|
|
60-zvol.rules \
|
|
|
|
90-zfs.rules
|
2011-08-05 19:22:58 +00:00
|
|
|
|
|
|
|
EXTRA_DIST = \
|
2012-11-29 19:08:37 +00:00
|
|
|
$(top_srcdir)/udev/rules.d/69-vdev.rules.in \
|
2011-08-06 17:28:16 +00:00
|
|
|
$(top_srcdir)/udev/rules.d/60-zvol.rules.in \
|
|
|
|
$(top_srcdir)/udev/rules.d/90-zfs.rules.in
|
2011-08-05 19:22:58 +00:00
|
|
|
|
2016-07-29 23:35:33 +00:00
|
|
|
$(udevrule_DATA):%:%.in
|
2011-08-06 17:28:16 +00:00
|
|
|
-$(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' \
|
2016-07-29 23:35:33 +00:00
|
|
|
$< > '$@'
|
2011-08-05 19:22:58 +00:00
|
|
|
|
2019-08-26 18:48:31 +00:00
|
|
|
# Double-colon rules are allowed; there are multiple independent definitions.
|
2011-08-05 19:22:58 +00:00
|
|
|
distclean-local::
|
|
|
|
-$(RM) $(udevrule_DATA)
|