Project

General

Profile

Revision 531c07e4

View differences:

configure.ac
1
define([gitversion], esyscmd([sh -c "git log --oneline | wc -l | tr -d ' \n'"]))
2

  
3 1
AC_INIT([lustrec], 1.6, [ploc@garoche.net])
4 2
AC_SUBST(VERSION_NUMBER, 1.6)
5 3
AC_SUBST(VERSION_CODENAME, "Xia/Zhu")
6 4

  
7 5

  
8
gitbranch=`git branch | grep \* | sed "s/\*[ ]*//"`
9
#define([gitbranch], esyscmd([sh -c "git branch | grep \* | cut -d ' ' -f2"]))
10

  
11
AC_SUBST(GITBRANCH, "$gitbranch")
12
if test x"$GITBRANCH" != "xmaster"; then
13
  AC_SUBST(CDASHSUBPROJ, "unstable")
14
else
15
  AC_SUBST(CDASHSUBPROJ, "master")
16
fi
17 6
# Next release will be
18 7
#AC_INIT([lustrec], [1.7], [ploc@garoche.net])
19 8
#AC_SUBST(VERSION_CODENAME, "Xia/Huai")

Also available in: Unified diff