[Mesa-dev] [PATCH 2/4] automake: rework the git_sha1.h rule, include in tarball

Matt Turner mattst88 at gmail.com
Mon May 30 20:11:11 UTC 2016


On Mon, May 30, 2016 at 5:46 AM, Emil Velikov <emil.l.velikov at gmail.com> wrote:
> From: Emil Velikov <emil.velikov at collabora.com>
>
> As we'll need the file in the release tarball, rework the rule so that
> the file is regenerated _only_ if we're in a git repository.
>
> With this in place we can build vulkan (anv) from a release tarball.
>
> Cc: Jason Ekstrand <jason.ekstrand at intel.com>
> Cc: Kristian Høgsberg Kristensen <krh at bitplanet.net>
> Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
> ---
> Not 100% sure if we want the file in any of the clean targets. I'm
> leaning towards "no", yet I'm open to input.

That would prevent rebuilds after 'make clean' when built from a
tarball, wouldn't it?


More information about the mesa-dev mailing list