[ABRT PATCH] make the build in the the build directory to not pollute the source tree

Michal Toman mtoman at redhat.com
Fri Aug 30 12:04:56 UTC 2013


pushed, thanks

On 30.08.2013 12:16, Jiri Moskovcak  wrote:
> - it's easier andsafer to gitignore it if it's separated in directory
>
> Signed-off-by: Jiri Moskovcak <jmoskovc at redhat.com>
> ---
>   .gitignore  | 1 +
>   Makefile.am | 6 +++---
>   2 files changed, 4 insertions(+), 3 deletions(-)
>
> diff --git a/.gitignore b/.gitignore
> index f3fb917..9fcbe04 100644
> --- a/.gitignore
> +++ b/.gitignore
> @@ -143,3 +143,4 @@ tests/package.m4
>
>   # python API docs builddir
>   src/python-problem/doc/_build/
> +build/*
> diff --git a/Makefile.am b/Makefile.am
> index f0b0e1b..182625b 100644
> --- a/Makefile.am
> +++ b/Makefile.am
> @@ -54,10 +54,10 @@ else
>   endif
>
>   RPM_DIRS = --define "_sourcedir `pwd`" \
> -	   --define "_rpmdir `pwd`" \
> +	   --define "_rpmdir `pwd`/build" \
>   	   --define "_specdir `pwd`" \
> -	   --define "_builddir `pwd`" \
> -	   --define "_srcrpmdir `pwd`"
> +	   --define "_builddir `pwd`/build" \
> +	   --define "_srcrpmdir `pwd`/build"
>
>   rpm:
>   	./gen-version
>


More information about the Crash-catcher mailing list