mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-04 00:30:11 +01:00
build: don't leave git_sha1.h.tmp after build/install
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>
This commit is contained in:
parent
1434a86f50
commit
e84d45fdb7
1 changed files with 2 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue