autogen.sh: Reuse existing build directory

Removing the build directory might delete important development files
as well.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
This commit is contained in:
Thomas Zimmermann 2019-05-17 10:08:16 +02:00 committed by Wim Taymans
parent e20857ccd1
commit 21cd78fe9e

View file

@ -5,7 +5,6 @@
git submodule init
git submodule update
rm -rf ./build
mkdir build
meson build "$@"
mkdir -p build
meson setup build "$@" # use 'autogen.sh --reconfigure' to update
ln -s build/Makefile Makefile