Skip to content

Commit

Permalink
sfos: build: drop extra version from VERSION.
Browse files Browse the repository at this point in the history
PA_MAJORMINOR will then be without the extra version information, but
PACKAGE_VERSION will continue to have possible extra version
information.
  • Loading branch information
jusa committed Feb 24, 2021
1 parent 560b26d commit cc7a9d0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions configure.ac
Expand Up @@ -34,8 +34,8 @@ AS_IF([! test -n "$VERSION"], [
AC_MSG_ERROR([git-version-gen failed])
])

m4_define(pa_major, `echo $VERSION | cut -d. -f1 | cut -d- -f1`)
m4_define(pa_minor, `echo $VERSION | cut -d. -f2 | cut -d- -f1`)
m4_define(pa_major, `echo $VERSION | cut -d. -f1 | cut -d- -f1 | cut -d+ -f1`)
m4_define(pa_minor, `echo $VERSION | cut -d. -f2 | cut -d- -f1 | cut -d+ -f1`)

AC_SUBST(PA_MAJOR, pa_major)
AC_SUBST(PA_MINOR, pa_minor)
Expand Down

0 comments on commit cc7a9d0

Please sign in to comment.