aboutsummaryrefslogtreecommitdiff
path: root/install.sh
diff options
context:
space:
mode:
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"