export the udev_helpers variable

Since it is needed for both building and installing, exporting it
allows to have it defined even if building as a regular user (so that
sudo is run for installing) or using a package manager (which usually
runs in a new shell and forgets unexported variables)
This commit is contained in:
Pierre Labastie 2024-01-04 19:22:44 +01:00
parent acde0a383a
commit 53ed17c752

View File

@ -126,9 +126,10 @@ meson setup \
</variablelist>
<para>Get the list of the shipped udev helpers and save it into an
environment variable:</para>
environment variable (exporting it is not strictly necessary, but it makes
building as a regular user or using a package manager easier):</para>
<screen><userinput remap="make">udev_helpers=$(grep "'name' :" ../src/udev/meson.build | \
<screen><userinput remap="make">export udev_helpers=$(grep "'name' :" ../src/udev/meson.build | \
awk '{print $3}' | tr -d ",'" | grep -v 'udevadm')</userinput></screen>
<para>Only build the components needed for udev:</para>