summaryrefslogtreecommitdiff
path: root/build-aux/git-version-gen
AgeCommit message (Collapse)Author
2016-01-25git-version-gen: Do not use `echo -n`Lukas Fleischer
`echo -n` is non-portable and does not work under some operating systems, such as OS X. Replace it with printf. Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
2011-05-24build-aux/git-version-gen: Ignore timestamps.Lukas Fleischer
Do not declare the working tree dirty if only a timestamp has changed. Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
2011-04-22Be a bit more fail-safe in "build-aux/git-version-gen".Lukas Fleischer
The existence of a ".git" directory is not a sufficient condition to be sure we are in a Git repository. Only overwrite the version information file if `git describe` returns a non-empty string. Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
2011-04-22Add Git version string support.Lukas Fleischer
Introduce a script to auto-generate version strings. Use `git describe` to create descriptive version strings when building from a Git checkout, use ".version" files for release tarballs. Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>