mesa: automake: ensure that git_sha1.h.tmp has the right attributes
authorEmil Velikov <emil.velikov@collabora.com>
Mon, 6 Jun 2016 16:31:05 +0000 (17:31 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Tue, 7 Jun 2016 11:21:46 +0000 (12:21 +0100)
... when copied from git_sha1.h.

As the latter file can we lacking the write attribute, one should set it
explicitly. Otherwise we'll get a warning/failure at cleanup stage.

Cc: <mesa-stable@lists.freedesktop.org>
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
src/Makefile.am

index 08446a8d14a4346adda453e98e0aaacdde679176..a5c54ffc03bcebe601130d145a562def35dd0bbe 100644 (file)
@@ -33,6 +33,7 @@ git_sha1.h.tmp:
                fi \
        else \
                cp $(srcdir)/git_sha1.h git_sha1.h.tmp ;\
+               chmod u+w git_sha1.h.tmp; \
        fi
 
 git_sha1.h: git_sha1.h.tmp