mirror of git://git.sysmocom.de/ofono
Fix bootstrap-configure when building from subdir
This commit is contained in:
parent
74bbdea02d
commit
99a425cca7
|
@ -1,11 +1,13 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
|
DIR="$(dirname "$0")"
|
||||||
|
|
||||||
if [ -f config.status ]; then
|
if [ -f config.status ]; then
|
||||||
make maintainer-clean
|
make maintainer-clean
|
||||||
fi
|
fi
|
||||||
|
|
||||||
./bootstrap && \
|
(cd "$DIR" && ./bootstrap) && \
|
||||||
./configure --enable-maintainer-mode \
|
"$DIR/configure" --enable-maintainer-mode \
|
||||||
--enable-debug \
|
--enable-debug \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
--mandir=/usr/share/man \
|
--mandir=/usr/share/man \
|
||||||
|
|
Loading…
Reference in New Issue