mirror_zfs/etc/udev/rules.d/Makefile.am
Brian Behlendorf 1d82906dea Set cmd paths in udev rules using --prefix
The udev/rules.d scripts must use absolute paths to their support
binaries.  However, where those binaries get installed depends
on what --prefix was set to when the package was configured.
This change makes the udev/rules.d helpers to *.in files which
are processed by configure.  This allows them to be dynamically
updated to include the specified --prefix.

Additionally, this change updates 60-zvol.rules to handle both
the 'add' and 'change' actions.  This ensures that that all
valid zvol devices are correctly linked.
2011-03-25 10:05:09 -07:00

11 lines
192 B
Makefile

pkgsysconfdir = $(sysconfdir)/udev/rules.d
pkgsysconf_DATA = \
60-zpool.rules \
60-zvol.rules
EXTRA_DIST = 60-zpool.rules.in 60-zvol.rules.in
distclean-local::
-$(RM) $(pkgsysconf_DATA)