Skip to content
Snippets Groups Projects
Commit 987fa573 authored by Pierre Loic Garoche's avatar Pierre Loic Garoche
Browse files

Merge branch 'git-configure' into cocospec

parents 949b2e1e 3471cb4d
No related branches found
No related tags found
No related merge requests found
define([gitversion], esyscmd([sh -c "git log --oneline | wc -l | tr -d '\n'"]))
define([gitbranch], esyscmd([sh -c "git branch | grep \* | cut -d ' ' -f2"]))
AC_INIT([lustrec], 1.5-gitversion, [ploc@garoche.net]) AC_INIT([lustrec], 1.5-gitversion, [ploc@garoche.net])
gitbranch=`git branch | grep \* | sed "s/\*[ ]*//"`
define([gitversion], esyscmd([sh -c "git log --oneline | wc -l | tr -d '\n'"]))
#define([gitbranch], esyscmd([sh -c "git branch | grep \* | cut -d ' ' -f2"]))
AC_SUBST(VERSION_CODENAME, "Xia/Shao Kang-dev") AC_SUBST(VERSION_CODENAME, "Xia/Shao Kang-dev")
AC_SUBST(GITBRANCH, gitbranch)
AC_SUBST(GITBRANCH, "$gitbranch")
if test x"$GITBRANCH" != "xmaster"; then if test x"$GITBRANCH" != "xmaster"; then
AC_SUBST(CDASHSUBPROJ, "unstable") AC_SUBST(CDASHSUBPROJ, "unstable")
else else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment