From: Emil Velikov Date: Mon, 6 Jun 2016 15:50:14 +0000 (+0100) Subject: mesa: automake: add directory prefix for git_sha1.h X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=359d9dfec3381284b044d6c9bcf7a648ea8c651a;p=mesa.git 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 --- 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