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

Emil Velikov emil.l.velikov at gmail.com
Wed Mar 5 05:04:14 PST 2014


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
 
-- 
1.9.0



More information about the mesa-dev mailing list