search for: install_udev_rules

Displaying 2 results from an estimated 2 matches for "install_udev_rules".

2014 Aug 19
1
[PATCH 2/2] Install udev rules in system-default directory
...sdir=$($PKG_CONFIG --variable=udevdir udev)"/rules.d"]) > +AC_SUBST([udevrulesdir], [$with_udevrulesdir]) You can use AM_CONDITIONAL to skip the installation if $with_udevrulesdir is "no" (aka --without-udevrulesdir). Then you'd have EXTRA_DIST = 90-virtio-rng.rules if INSTALL_UDEV_RULES udevrules_DATA = 90-virtio-rng.rules endif I don't know offhand if this works: if INSTALL_UDEV_RULES dist_udevrules_DATA = 90-virtio-rng.rules endif but I think so; you can check with "./configure --without-udevrulesdir && make && make dist". Thanks, Paolo
2014 Aug 19
1
[PATCH 2/2] Install udev rules in system-default directory
...sdir=$($PKG_CONFIG --variable=udevdir udev)"/rules.d"]) > +AC_SUBST([udevrulesdir], [$with_udevrulesdir]) You can use AM_CONDITIONAL to skip the installation if $with_udevrulesdir is "no" (aka --without-udevrulesdir). Then you'd have EXTRA_DIST = 90-virtio-rng.rules if INSTALL_UDEV_RULES udevrules_DATA = 90-virtio-rng.rules endif I don't know offhand if this works: if INSTALL_UDEV_RULES dist_udevrules_DATA = 90-virtio-rng.rules endif but I think so; you can check with "./configure --without-udevrulesdir && make && make dist". Thanks, Paolo