build: Rename BUILD_* macros and the code self-descriptive

This commit is contained in:
Hennadii Stepanov
2020-05-02 00:44:26 +03:00
parent dc1fba9389
commit 35f1189ea7
2 changed files with 12 additions and 21 deletions

View File

@ -36,9 +36,9 @@ if [ "${BITCOIN_GENBUILD_NO_GIT}" != "1" ] && [ -e "$(command -v git)" ] && [ "$
fi
if [ -n "$GIT_TAG" ]; then
NEWINFO="#define BUILD_DESC \"$GIT_TAG\""
NEWINFO="#define BUILD_GIT_TAG \"$GIT_TAG\""
elif [ -n "$GIT_COMMIT" ]; then
NEWINFO="#define BUILD_SUFFIX $GIT_COMMIT"
NEWINFO="#define BUILD_GIT_COMMIT $GIT_COMMIT"
else
NEWINFO="// No build information available"
fi