summaryrefslogtreecommitdiffstats
path: root/build-aux
Commit message (Collapse)AuthorAgeFilesLines
* git-version-gen: Add default versionLukas Fleischer2017-09-081-8/+4
| | | | | | | | | | | Instead of bailing out early in the build process when neither a version file nor a valid Git repository is detected, use a hardcoded default version string. This fixes building from shallow clones or Git snapshots. Also fixes GitHub issue #22. Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
* git-version-gen: Do not use `echo -n`Lukas Fleischer2016-01-251-1/+1
| | | | | | | `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>
* build-aux/git-version-gen: Ignore timestamps.Lukas Fleischer2011-05-241-0/+1
| | | | | | Do not declare the working tree dirty if only a timestamp has changed. Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
* Be a bit more fail-safe in "build-aux/git-version-gen".Lukas Fleischer2011-04-221-2/+3
| | | | | | | | 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>
* Add Git version string support.Lukas Fleischer2011-04-221-0/+24
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>