Mesa (master): mesa: automake: add directory prefix for git_sha1.h

Emil Velikov evelikov at kemper.freedesktop.org
Tue Jun 7 11:33:47 UTC 2016


Module: Mesa
Branch: master
Commit: 359d9dfec3381284b044d6c9bcf7a648ea8c651a
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=359d9dfec3381284b044d6c9bcf7a648ea8c651a

Author: Emil Velikov <emil.velikov at collabora.com>
Date:   Mon Jun  6 16:50:14 2016 +0100

mesa: automake: add directory prefix for git_sha1.h

Otherwise the build will assume that we've talking about builddir, which
is not the case in the else statement.

Here the file is already generated and is part of the tarball.

Cc: <mesa-stable at lists.freedesktop.org>
Signed-off-by: Emil Velikov <emil.velikov at collabora.com>

---

 src/Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/Makefile.am b/src/Makefile.am
index 45590c0..08446a8 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -32,7 +32,7 @@ git_sha1.h.tmp:
 			> git_sha1.h.tmp ; \
 		fi \
 	else \
-		cp git_sha1.h git_sha1.h.tmp ;\
+		cp $(srcdir)/git_sha1.h git_sha1.h.tmp ;\
 	fi
 
 git_sha1.h: git_sha1.h.tmp




More information about the mesa-commit mailing list