pipewire/autogen.sh
Wim Taymans a19ab4a20a use builddir everywhere
So that it matches thr INSTALL.md instructions
2021-06-20 12:00:26 +02:00

19 lines
455 B
Bash
Executable file

#!/bin/sh
# Only there to make jhbuild happy
if [ -z "$MESON" ]; then
MESON=$(which meson)
fi
if [ -z "$MESON" ]; then
echo "error: Meson not found."
echo "Install meson to configure and build Pipewire. If meson" \
"is already installed, set the environment variable MESON" \
"to the binary's path."
exit 1;
fi
mkdir -p builddir
$MESON setup "$@" builddir # use 'autogen.sh --reconfigure' to update
ln -sf builddir/Makefile Makefile