mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-12 23:46:17 +01:00
allow setting $OBJ_DIR to specify building in a subdir
This commit is contained in:
parent
4d8c3570b9
commit
0eb4b182e7
@ -57,7 +57,13 @@ aclocal $ACLOCAL_FLAGS
|
||||
automake $am_opt
|
||||
autoconf
|
||||
|
||||
./configure "$@"
|
||||
if [ -z "$OBJ_DIR" ]; then
|
||||
./configure "$@"
|
||||
else
|
||||
mkdir -p "$OBJ_DIR"
|
||||
cd "$OBJ_DIR"
|
||||
../configure "$@"
|
||||
fi
|
||||
|
||||
echo
|
||||
echo "Now type 'make' to compile $PROJECT."
|
||||
|
Loading…
Reference in New Issue
Block a user