make DESTDIR="$INSTALL_ROOT" install  &&

cp  doc/docbook/*.8  "$INSTALL_ROOT/usr/share/man/man8/"  &&
cp  doc/docbook/*.5  "$INSTALL_ROOT/usr/share/man/man5/"  &&

mkdir -p                 "$INSTALL_ROOT/usr/share/doc/wpa_supplicant/"  &&
cp  wpa_supplicant.conf  "$INSTALL_ROOT/usr/share/doc/wpa_supplicant/"  &&

if  is_depends_enabled  $SPELL  qt-x11
then
  cp  wpa_gui/wpa_gui  "$INSTALL_ROOT/usr/sbin/"
fi  &&

if  [[ $WPA_CONFIG_FILE == y ]] ||
    list_find  "$INIT_INSTALLED"  wpa_supplicant
then
  install_config_file  "$SCRIPT_DIRECTORY/wpa_supplicant.conf"  \
                       "$INSTALL_ROOT/etc/wpa_supplicant.conf"
fi
