commit 2d61a0b7b5e9ba8a462556fc663e36bf2d0a385b
parent 0a5e4dd73a7165b53353d066353bd686d24c9e5a
Author: Ilia Bozhinov <ammen99@gmail.com>
Date: Thu, 19 Mar 2020 23:11:42 +0100
install.sh: add --system-wlroots option
Diffstat:
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/install.sh b/install.sh
@@ -6,6 +6,7 @@ print_help() {
echo " -s, --stream=<stream> Build a particular branch of Wayfire and other components. Usually master or a release like X.Y.Z"
echo " Default is 0.4.0"
echo " -p, --prefix=<prefix> Prefix where to install Wayfire. Default: /opt/wayfire"
+ echo " --system-wlroots Use the system-wide installation of wlroots instead of the bundled one."
exit 1
}
@@ -19,7 +20,7 @@ USE_SYSTEM_WLROOTS=disabled
# Temporarily disable exit on error
set +e
-options=$(getopt -o hvcs:p: --long verbose --long clean --long stream: --long prefix: -- $@)
+options=$(getopt -o hvcs:p: --long verbose --long clean --long stream: --long prefix: --long system-wlroots -- $@)
ERROR_CODE=$?
set -e
@@ -45,6 +46,9 @@ while true; do
shift
PREFIX=$1
;;
+ --system-wlroots)
+ USE_SYSTEM_WLROOTS=enabled
+ ;;
-h|--help)
print_help
exit;;