projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1434a86
)
build: don't leave git_sha1.h.tmp after build/install
author
Vadim Girlin
<vadimgirlin@gmail.com>
Fri, 24 Aug 2012 07:16:14 +0000
(11:16 +0400)
committer
Vadim Girlin
<vadimgirlin@gmail.com>
Fri, 24 Aug 2012 07:16:14 +0000
(11:16 +0400)
Fixes "`main/git_sha1.h.tmp': Permission denied" build error.
See https://bugs.freedesktop.org/show_bug.cgi?id=52064
Signed-off-by: Vadim Girlin <vadimgirlin@gmail.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/Makefile.am
patch
|
blob
|
history
diff --git
a/src/mesa/Makefile.am
b/src/mesa/Makefile.am
index 3b5ef24c0edc59f9018b59bd5023909e89cc6811..1ac64e64df2997b3d18e37aa30e146d2a07adf37 100644
(file)
--- 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