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-Tag: upstream/17.1.0~8907 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=359d9dfec3381284b044d6c9bcf7a648ea8c651a;p=platform%2Fupstream%2Fmesa.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 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