[Mesa-dev] [PATCH] automake: make clean the correct git_sha1.h.tmp

Kenneth Graunke kenneth at whitecape.org
Sat Mar 8 02:20:35 PST 2014


On 03/05/2014 05:04 AM, Emil Velikov wrote:
> When building out of tree, the file ends up dangling which
> may result in a binary with the old git sha.
> 
> Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
> ---
>  src/mesa/Makefile.am | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/mesa/Makefile.am b/src/mesa/Makefile.am
> index ffe6599..16ac148 100644
> --- a/src/mesa/Makefile.am
> +++ b/src/mesa/Makefile.am
> @@ -70,7 +70,7 @@ BUILT_SOURCES = \
>  CLEANFILES = \
>  	$(BUILT_SOURCES) \
>  	$(BUILDDIR)program/program_parse.tab.h \
> -	git_sha1.h.tmp
> +	$(BUILDDIR)main/git_sha1.h.tmp
>  
>  GET_HASH_GEN = main/get_hash_generator.py
>  
> 

Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20140308/75f8727f/attachment.pgp>


More information about the mesa-dev mailing list