Add Git version string support.

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>
This commit is contained in:
Lukas Fleischer
2011-04-18 17:45:50 +02:00
parent cbd66b13b1
commit c5e4187590
4 changed files with 32 additions and 1 deletions

View File

@@ -2,7 +2,9 @@
# Init
#-------------------------------------------------------------------------------
AC_PREREQ(2.59)
AC_INIT(calcurse, 2.8, bugs@calcurse.org)
AC_INIT([calcurse],
m4_esyscmd([build-aux/git-version-gen .version]),
[bugs@calcurse.org])
AM_INIT_AUTOMAKE
#m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])])
AM_GNU_GETTEXT([external])