1
0
mirror of https://github.com/irssi/irssi.git synced 2024-06-09 06:20:45 +00:00

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

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}\""
fi
fi