summaryrefslogtreecommitdiffstats
path: root/src/Makefile.am
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2016-06-06 16:50:14 +0100
committerEmil Velikov <[email protected]>2016-06-07 12:21:45 +0100
commit359d9dfec3381284b044d6c9bcf7a648ea8c651a (patch)
treefc13cf1091c7d69be5f4d6f7560ac54fc6c86491 /src/Makefile.am
parent1816c837c1906382c370d65afe65a691738fd03b (diff)
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: <[email protected]> Signed-off-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src/Makefile.am')
-rw-r--r--src/Makefile.am2
1 files changed, 1 insertions, 1 deletions
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