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>
This commit is contained in:
Emil Velikov
2016-06-06 16:50:14 +01:00
committed by Emil Velikov
parent 1816c837c1
commit 359d9dfec3

View File

@@ -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