Project

General

Profile

Revision 3471cb4d

View differences:

configure.ac
1
define([gitversion], esyscmd([sh -c "git log --oneline | wc -l | tr -d '\n'"]))
2
define([gitbranch], esyscmd([sh -c "git branch | grep \* | cut -d ' ' -f2"]))
3 1
AC_INIT([lustrec], 1.5-gitversion, [ploc@garoche.net])
2

  
3
gitbranch=`git branch | grep \* | sed "s/\*[ ]*//"`
4
define([gitversion], esyscmd([sh -c "git log --oneline | wc -l | tr -d '\n'"]))
5
#define([gitbranch], esyscmd([sh -c "git branch | grep \* | cut -d ' ' -f2"]))
6

  
4 7
AC_SUBST(VERSION_CODENAME, "Xia/Shao Kang-dev")
5
AC_SUBST(GITBRANCH, gitbranch)
8
AC_SUBST(GITBRANCH, "$gitbranch")
6 9
# Next release will be
7 10
#AC_INIT([lustrec], [1.6], [ploc@garoche.net])
8 11
#AC_SUBST(VERSION_CODENAME, "Xia/Zhu")

Also available in: Unified diff