[Mesa-dev] [PATCH] build: don't leave git_sha1.h.tmp after build/install
Alex Deucher
alexdeucher at gmail.com
Fri Aug 24 08:43:13 PDT 2012
On Thu, Aug 23, 2012 at 11:19 AM, Vadim Girlin <vadimgirlin at gmail.com> wrote:
> See https://bugs.freedesktop.org/show_bug.cgi?id=52064
Looks good to me.
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
> ---
> src/mesa/Makefile.am | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/src/mesa/Makefile.am b/src/mesa/Makefile.am
> index 3b5ef24..1ac64e6 100644
> --- a/src/mesa/Makefile.am
> +++ b/src/mesa/Makefile.am
> @@ -39,6 +39,8 @@ main/git_sha1.h: main/git_sha1.h.tmp
> @echo "updating main/git_sha1.h"
> @if ! cmp -s main/git_sha1.h.tmp main/git_sha1.h; then \
> mv main/git_sha1.h.tmp main/git_sha1.h ;\
> + else \
> + rm main/git_sha1.h.tmp ;\
> fi
>
> # include glapi_gen.mk for generating glapi headers for GLES
> --
> 1.7.11.4
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev
More information about the mesa-dev
mailing list