Mesa (master): automake: make clean the correct git_sha1.h.tmp

Emil Velikov evelikov at kemper.freedesktop.org
Sat Mar 8 20:40:21 UTC 2014


Module: Mesa
Branch: master
Commit: 330a3799d055a37f3a5d191519f9ff687024f81b
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=330a3799d055a37f3a5d191519f9ff687024f81b

Author: Emil Velikov <emil.l.velikov at gmail.com>
Date:   Wed Mar  5 13:04:14 2014 +0000

automake: make clean the correct git_sha1.h.tmp

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>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

---

 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
 




More information about the mesa-commit mailing list