Fork 0

Undefine PACKAGE_VERSION before overwriting it.

This commit is contained in:
Alexander Færøy 2015-09-20 23:02:51 +02:00
parent 6c9dcffb5e
commit 5c3ef84a0b
No known key found for this signature in database
GPG Key ID: E15081D5D3C3DB53
1 changed files with 1 additions and 0 deletions

View File

@ -22,6 +22,7 @@ if echo "${VERSION}" | grep -q -- -head; then
# Because the git tag won't yet include the next release we modify the git
# describe output using the version defined from configure.ac.
version="${new_version}-$(echo "${git_version}" | sed 's/^.*-[0-9]\+-//')"
echo "#undef PACKAGE_VERSION"
echo "#define PACKAGE_VERSION \"${version}\""