Allow git-version.h to be provided for the build
authorWayne Davison <wayne@opencoder.net>
Mon, 7 Sep 2020 05:49:27 +0000 (22:49 -0700)
committerWayne Davison <wayne@opencoder.net>
Mon, 7 Sep 2020 06:09:11 +0000 (23:09 -0700)
commitee75e51f2f4ca6456ef623e9a09bc17f32b739de
tree458202f4c3a24176bade08b653a3410acd2bad78
parent9f9240b661c5f381831b62d72b6ea928a91ff43a
Allow git-version.h to be provided for the build

For a non-git build or for a git build w/o adequate git history, we now
allow the git-version.h file to be provided before the build.  If the
file does not exist, we either create an empty file or put a define of
RSYNC_GITVER in it based on the output of git describe.  The github
builds now snag the git-version.h file that was generated for the last
commit so that they all get the same version string, even with a shallow
checkout.
.cirrus.yml
.github/workflows/build.yml
Makefile.in
mkgitver
usage.c