mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice-gtk
synced 2026-02-05 05:49:10 +00:00
People using autogen.sh are likely to be building from git, so may get updates to vala files at any time. Checking for the presence of controller.vala.stamp to decide whether vala should be enabled or not is not very accurate since it doesn't reflect if a .vala file needs to be regenerated or not. It's better to always pass --enable-vala to configure, it's always possible to disable it by using --disable-vala as an autogen.sh argument.
19 lines
441 B
Bash
Executable File
19 lines
441 B
Bash
Executable File
#!/bin/sh
|
|
|
|
set -e # exit on errors
|
|
|
|
srcdir=`dirname $0`
|
|
test -z "$srcdir" && srcdir=.
|
|
|
|
git submodule update --init --recursive
|
|
|
|
gtkdocize
|
|
autoreconf -v --force --install
|
|
intltoolize -f
|
|
|
|
if [ -z "$NOCONFIGURE" ]; then
|
|
echo "Running configure with --enable-maintainer-mode --enable-gtk-doc --with-gtk=3.0 --enable-vala ${1+"$@"}"
|
|
"$srcdir"/configure --enable-maintainer-mode --enable-gtk-doc --with-gtk=3.0 --enable-vala ${1+"$@"}
|
|
fi
|
|
|