Skip to content
  • Bin Li's avatar
    autogoo: make udev rules dir configurable · ef231c27
    Bin Li authored
    Different distributions place udev rules in
    different locations (depending on whether or
    not /usr is a symlink to /)
    
    That means the location needs to be configurable.
    
    This commit adds a new ./configure argument,
    --with-udevdir that allows distributions to specify
    where udev looks for its data files.
    
    By default it pulls the answer from pkg-config.
    
    This commit also fixes `make distcheck` when run
    by an unprivileged user by disabling udev rule
    installation entirely during distcheck.
    
    Small changes by Ray Strode.
    
    Closes GNOME/gdm!44
    ef231c27