From 359d9dfec3381284b044d6c9bcf7a648ea8c651a Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Mon, 6 Jun 2016 16:50:14 +0100 Subject: [PATCH] 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: Signed-off-by: Emil Velikov --- src/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Makefile.am b/src/Makefile.am index 45590c0a07a..08446a8d14a 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 -- 2.30.2