diff options
author | Emmanuele Bassi <ebassi@gnome.org> | 2016-06-03 13:19:53 +0100 |
---|---|---|
committer | Emmanuele Bassi <ebassi@gnome.org> | 2016-06-03 13:19:53 +0100 |
commit | 0c197cce44a01ce8f1628e157768d8ea94ec4ed2 (patch) | |
tree | a02b5044d26943c618a2aad4bbbf1038c176cf60 | |
parent | 80569a87df863ef84650c7238c1ae399c429bd60 (diff) | |
download | network-manager-applet-0c197cce44a01ce8f1628e157768d8ea94ec4ed2.tar.gz |
Ensure autogen.sh works with non-srcdir builds
Only the tools to generate the configure script should be executed
inside the source directory; the configure script should be called
from the build directory.
-rwxr-xr-x | autogen.sh | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -16,9 +16,9 @@ PKG_NAME=nm-applet (cd $srcdir; autoreconf --install --symlink && intltoolize --force && - autoreconf && - if test -z "$NOCONFIGURE"; then - ./configure --enable-maintainer-mode "$@" - fi + autoreconf ) +if test -z "$NOCONFIGURE"; then + "$srcdir/configure" --enable-maintainer-mode "$@" +fi |