mirror of https://github.com/MidnightCommander/mc
allow setting $OBJ_DIR to specify building in a subdir
This commit is contained in:
parent
83655b000d
commit
d4789faff9
|
@ -13,4 +13,9 @@ autoheader
|
|||
autoconf
|
||||
)
|
||||
|
||||
$srcdir/configure --enable-maintainer-mode $*
|
||||
if [ ! -z "$OBJ_DIR" ]; then
|
||||
mkdir -p "$OBJ_DIR"
|
||||
cd "$OBJ_DIR"
|
||||
fi
|
||||
|
||||
$srcdir/$OBJDIR/configure --enable-maintainer-mode $*
|
||||
|
|
Loading…
Reference in New Issue