Feature #1558 ยป 0066-generate_version_header.sh-Remove-x-prefixing.patch
gen_headers/generate_version_header.sh | ||
---|---|---|
echo "#define MAJOR_VERSION $MAJOR_VERSION" >> $1
|
||
echo "#define MINOR_VERSION $MINOR_VERSION" >> $1
|
||
echo "#define PATCH_VERSION $PATCH_VERSION" >> $1
|
||
if test "x$EMERGENCY_VERSION" != "x" ; then
|
||
echo "#define EMERGENCY_VERSION $EMERGENCY_VERSION" >> $1
|
||
if test "${EMERGENCY_VERSION}" != "" ; then
|
||
echo "#define EMERGENCY_VERSION ${EMERGENCY_VERSION}" >> $1
|
||
fi
|
||
echo "#ifndef VERSION_LABEL" >> $1
|
||
echo "#define VERSION_LABEL \"$VERSION_LABEL\"" >> $1
|