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