Move generation of build.h into a shell script
Moving the routines that create build.h into a script offers
several advantages. We can create more complex functions to
run and we don't have to deal with both bash and Make at the same
This script combines what is currently in Makefile.inc with a
couple of updates.
- Update how it determines whether to use git for the timestamp
- Move the git revision string generation inside the routine
that checks to see if we have git.
- Add a timeout for the domain name check.
Signed-off-by: Martin Roth <firstname.lastname@example.org>
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <email@example.com>
2 files changed