mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-27 06:26:15 +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
|
automake $am_opt
|
||||||
autoconf
|
autoconf
|
||||||
|
|
||||||
./configure "$@"
|
if [ -z "$OBJ_DIR" ]; then
|
||||||
|
./configure "$@"
|
||||||
|
else
|
||||||
|
mkdir -p "$OBJ_DIR"
|
||||||
|
cd "$OBJ_DIR"
|
||||||
|
../configure "$@"
|
||||||
|
fi
|
||||||
|
|
||||||
echo
|
echo
|
||||||
echo "Now type 'make' to compile $PROJECT."
|
echo "Now type 'make' to compile $PROJECT."
|
||||||
|
Loading…
Reference in New Issue
Block a user