diff options
| author | Toby Goodwin <toby@paccrat.org> | 2016-08-27 23:02:32 +0100 |
|---|---|---|
| committer | Toby Goodwin <toby@paccrat.org> | 2016-08-27 23:02:32 +0100 |
| commit | 89f1e1b445c2c50ffb61fa1327e11c475eb1b57f (patch) | |
| tree | fd0f294e72da286f2e7253859376859084599c96 /configure.ac | |
| parent | 98036baceaea6c37af19b64af547eb98b2ea19ee (diff) | |
replace problematic reldate with git describe (thanks @RamKromberg)
Diffstat (limited to 'configure.ac')
| -rw-r--r-- | configure.ac | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index e86bef6..de243a6 100644 --- a/configure.ac +++ b/configure.ac @@ -2,8 +2,8 @@ dnl Our package name, version, ... AC_INIT([rc], [1.7.4]) dnl ... and release date -RELDATE=`date +%Y-%m-%d` -AC_DEFINE_UNQUOTED(RELDATE, "$RELDATE", [Release date]) +DESCRIPTION=$(git describe || echo '(git description unavailable)') +AC_DEFINE_UNQUOTED(DESCRIPTION, "$DESCRIPTION", [Release date]) dnl Get things going... AC_CONFIG_SRCDIR([rc.h]) |