mirror of
https://github.com/irssi/irssi.git
synced 2024-11-03 04:27:19 -05:00
Undefine PACKAGE_VERSION before overwriting it.
This commit is contained in:
parent
6c9dcffb5e
commit
5c3ef84a0b
@ -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
|
# Because the git tag won't yet include the next release we modify the git
|
||||||
# describe output using the version defined from configure.ac.
|
# describe output using the version defined from configure.ac.
|
||||||
version="${new_version}-$(echo "${git_version}" | sed 's/^.*-[0-9]\+-//')"
|
version="${new_version}-$(echo "${git_version}" | sed 's/^.*-[0-9]\+-//')"
|
||||||
|
echo "#undef PACKAGE_VERSION"
|
||||||
echo "#define PACKAGE_VERSION \"${version}\""
|
echo "#define PACKAGE_VERSION \"${version}\""
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user