mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2024-12-24 21:33:51 +03:00
allow setting $OBJ_DIR to specify building in a subdir
This commit is contained in:
parent
8cc0d1f889
commit
aa873f7b76
@ -45,7 +45,13 @@ libtoolize --copy --force
|
||||
aclocal
|
||||
automake --add-missing
|
||||
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 gnome-xml."
|
||||
|
Loading…
Reference in New Issue
Block a user