automake: make clean the correct git_sha1.h.tmp
authorEmil Velikov <emil.l.velikov@gmail.com>
Wed, 5 Mar 2014 13:04:14 +0000 (13:04 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Sat, 8 Mar 2014 20:40:56 +0000 (20:40 +0000)
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@gmail.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/Makefile.am

index ffe65990d224c2743a64c7baab90e015ff739298..16ac148af285d68eddec029c69af2c1db31ac176 100644 (file)
@@ -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