[Sugar-devel] [PATCH sugar-toolkit-gtk3] Allow to build outside source directory
Daniel Narvaez
dwnarvaez at gmail.com
Tue Jul 3 12:03:58 EDT 2012
Ping
On 26 June 2012 15:14, Daniel Narvaez <dwnarvaez at gmail.com> wrote:
> From: Daniel Narvaez <dwnarvaez at gmail.com>
>
> ---
> autogen.sh | 11 ++++++++++-
> 1 file changed, 10 insertions(+), 1 deletion(-)
>
> diff --git a/autogen.sh b/autogen.sh
> index f25b0a3..c5e1bf3 100755
> --- a/autogen.sh
> +++ b/autogen.sh
> @@ -1,6 +1,15 @@
> #!/bin/sh
> +
> +test -n "${srcdir}" || srcdir=`dirname "$0"`
> +test -n "${srcdir}" || srcdir="$(pwd)"
> +
> +olddir="$(pwd)"
> +cd "$srcdir"
> +
> export ACLOCAL="aclocal -I m4"
>
> intltoolize
> autoreconf -i
> -./configure --enable-maintainer-mode "$@"
> +
> +cd "$olddir"
> +"$srcdir/configure" --enable-maintainer-mode "$@"
> --
> 1.7.10.2
>
--
Daniel Narvaez
More information about the Sugar-devel
mailing list