0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-10 12:01:15 +01:00

configure: Use --broken option on git describe invocations.

This commit is contained in:
Jason Volk 2020-04-19 19:56:09 -07:00
parent a4918a8950
commit 646911dc80

View file

@ -2097,12 +2097,12 @@ RB_VERSION_BRANCH=`$VERSION_BRANCH_CMD`
RB_DEFINE_UNQUOTED([VERSION_BRANCH], ["$RB_VERSION_BRANCH"], [Git branch at configuration time.]) RB_DEFINE_UNQUOTED([VERSION_BRANCH], ["$RB_VERSION_BRANCH"], [Git branch at configuration time.])
#CPPDEFINE([RB_VERSION_BRANCH], [`$VERSION_BRANCH_CMD`]) #CPPDEFINE([RB_VERSION_BRANCH], [`$VERSION_BRANCH_CMD`])
VERSION_TAG_CMD="git describe --tags --abbrev=0 --dirty --always" VERSION_TAG_CMD="git describe --tags --abbrev=0 --dirty --always --broken"
RB_VERSION_TAG=`$VERSION_TAG_CMD` RB_VERSION_TAG=`$VERSION_TAG_CMD`
RB_DEFINE_UNQUOTED([VERSION_TAG], ["$RB_VERSION_TAG"], [Git tag at configuration time.]) RB_DEFINE_UNQUOTED([VERSION_TAG], ["$RB_VERSION_TAG"], [Git tag at configuration time.])
#CPPDEFINE([RB_VERSION_TAG], [`$VERSION_TAG_CMD`]) #CPPDEFINE([RB_VERSION_TAG], [`$VERSION_TAG_CMD`])
VERSION_CMD="git describe --tags --always" VERSION_CMD="git describe --tags --always --broken"
RB_VERSION=`$VERSION_CMD` RB_VERSION=`$VERSION_CMD`
RB_DEFINE_UNQUOTED([VERSION], ["$RB_VERSION"], [Version generated at configuration time.]) RB_DEFINE_UNQUOTED([VERSION], ["$RB_VERSION"], [Version generated at configuration time.])