Fix bootstrap-configure when building from subdir

This commit is contained in:
Rémi Denis-Courmont 2009-06-25 14:49:32 +03:00 committed by Aki Niemi
parent 74bbdea02d
commit 99a425cca7
1 changed files with 4 additions and 2 deletions

View File

@ -1,11 +1,13 @@
#!/bin/sh
DIR="$(dirname "$0")"
if [ -f config.status ]; then
make maintainer-clean
fi
./bootstrap && \
./configure --enable-maintainer-mode \
(cd "$DIR" && ./bootstrap) && \
"$DIR/configure" --enable-maintainer-mode \
--enable-debug \
--prefix=/usr \
--mandir=/usr/share/man \