automake: rework the git_sha1.h rule, include in tarball
authorEmil Velikov <emil.velikov@collabora.com>
Mon, 30 May 2016 11:32:05 +0000 (12:32 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Mon, 30 May 2016 16:53:45 +0000 (17:53 +0100)
commit3689ef32afdafbb030069e560aac0e563fc29048
treeaa5e8db7a7cfe0dec374040ac586a482af36371c
parent4cd9cd6abc772388b41ca6e7d85f62e32014120f
automake: rework the git_sha1.h rule, include in tarball

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@intel.com>
Cc: Kristian Høgsberg Kristensen <krh@bitplanet.net>
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
.gitignore
src/Makefile.am