Add run script to the build directory

This allows starting calls by invoking something like _build/run.

Closes #292
This commit is contained in:
Evangelos Ribeiro Tzaras
2021-06-03 12:56:21 +02:00
parent 3d51d627d3
commit 04b81dd664
2 changed files with 19 additions and 0 deletions

10
run.in Executable file
View File

@@ -0,0 +1,10 @@
#!/bin/sh
set -e
ABS_BUILDDIR='@ABS_BUILDDIR@'
ABS_SRCDIR='@ABS_SRCDIR@'
export GSETTINGS_SCHEMA_DIR="${ABS_BUILDDIR}/data"
set -x
exec "${ABS_BUILDDIR}/src/gnome-calls" "$@"