Update travis for autotools

This commit is contained in:
Michael Stapelberg
2016-10-16 18:03:09 +02:00
parent 05e5901bca
commit ca98c7e614
7 changed files with 24 additions and 17 deletions

View File

@ -35,6 +35,7 @@ AS_IF([test -d ${srcdir}/.git],
I3_VERSION="$(cat ${srcdir}/I3_VERSION)"
is_release="$(grep -q non-git ${srcdir}/I3_VERSION && echo no || echo yes)"
])
AC_SUBST([I3_VERSION], [$I3_VERSION])
MAJOR_VERSION="$(echo ${VERSION} | cut -d '.' -f 1)"
MINOR_VERSION="$(echo ${VERSION} | cut -d '.' -f 2)"
PATCH_VERSION="$(echo ${VERSION} | cut -d '.' -f 3)"