aboutsummaryrefslogtreecommitdiff
path: root/install.sh
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2024-06-11 17:44:10 +0200
committerdec05eba <dec05eba@protonmail.com>2024-06-11 17:44:10 +0200
commitdc86b5b9eca73ddd8524a4744bd381fc4af890f7 (patch)
tree28667c0ad85f72e0fa2bf46b6ace9d2dec0332a3 /install.sh
parentdfa7dc6659755b7a8385aad5003fd80483dd4ffe (diff)
Keep install script behavior the same as before, dont use it if you want normal meson behavior
Diffstat (limited to 'install.sh')
-rwxr-xr-xinstall.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/install.sh b/install.sh
index adbc663..8fa1595 100755
--- a/install.sh
+++ b/install.sh
@@ -5,8 +5,10 @@ cd "$script_dir"
[ $(id -u) -ne 0 ] && echo "You need root privileges to run the install script" && exit 1
+echo "Warning: this install.sh script exists for backwards compatibility. Use meson directly instead if possible"
+
test -d build || meson setup build
-meson configure --buildtype=release build
+meson configure --prefix=/usr --buildtype=release -Dsystemd=true -Dstrip=true build
ninja -C build install
echo "Successfully installed gpu-screen-recorder"