summaryrefslogtreecommitdiffstats
path: root/src/Makefile.am
diff options
context:
space:
mode:
authorEmil Velikov <emil.velikov@collabora.com>2016-06-06 16:50:14 +0100
committerEmil Velikov <emil.l.velikov@gmail.com>2016-06-07 12:21:45 +0100
commit359d9dfec3381284b044d6c9bcf7a648ea8c651a (patch)
treefc13cf1091c7d69be5f4d6f7560ac54fc6c86491 /src/Makefile.am
parent1816c837c1906382c370d65afe65a691738fd03b (diff)
downloadexternal_mesa3d-359d9dfec3381284b044d6c9bcf7a648ea8c651a.tar.gz
external_mesa3d-359d9dfec3381284b044d6c9bcf7a648ea8c651a.tar.bz2
external_mesa3d-359d9dfec3381284b044d6c9bcf7a648ea8c651a.zip
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@lists.freedesktop.org> Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
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 45590c0a07..08446a8d14 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