mirror of
https://github.com/ipmitool/ipmitool.git
synced 2025-05-10 18:47:22 +00:00
Add git hash and dirty mark to ipmitool version
Replace the static 'csv' suffix with a short hash and a 'dirty' mark (when the tree is modified). When git is not available, '.git_snapshot' suffix will be used.
This commit is contained in:
parent
bc7d23761d
commit
b35a634908
@ -1,7 +1,8 @@
|
||||
dnl
|
||||
dnl autoconf for ipmitool
|
||||
dnl
|
||||
AC_INIT([ipmitool], [1.8.18-csv])
|
||||
m4_define([git_suffix], m4_esyscmd_s(git describe --always --dirty=wc 2>/dev/null || echo git_snapshot))
|
||||
AC_INIT([ipmitool], [1.8.18.git_suffix])
|
||||
AC_CONFIG_SRCDIR([src/ipmitool.c])
|
||||
AC_CANONICAL_SYSTEM
|
||||
AM_INIT_AUTOMAKE([foreign])
|
||||
|
Loading…
x
Reference in New Issue
Block a user