autogen.sh: Fix running out of tree
The autogen.sh script should be runnable out of tree. It's mostly already the case, just one little tweak to make it work. $ mkdir build $ cd build $ ../autogen.sh --prefix=/usr Closes: #1063 Approved by: cgwalters
This commit is contained in:
parent
6d861dd92d
commit
773154a513
|
|
@ -28,7 +28,6 @@ else
|
||||||
gtkdocize
|
gtkdocize
|
||||||
fi
|
fi
|
||||||
|
|
||||||
cd $olddir
|
|
||||||
if ! test -f libglnx/README.md || ! test -f bsdiff/README.md; then
|
if ! test -f libglnx/README.md || ! test -f bsdiff/README.md; then
|
||||||
git submodule update --init
|
git submodule update --init
|
||||||
fi
|
fi
|
||||||
|
|
@ -41,4 +40,5 @@ ln -sf ../libglnx/libglnx.m4 buildutil/libglnx.m4
|
||||||
|
|
||||||
autoreconf --force --install --verbose
|
autoreconf --force --install --verbose
|
||||||
|
|
||||||
|
cd $olddir
|
||||||
test -n "$NOCONFIGURE" || "$srcdir/configure" "$@"
|
test -n "$NOCONFIGURE" || "$srcdir/configure" "$@"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue