makepanda: PANDA_VERSION_STR should contain the full version number

This commit is contained in:
rdb 2019-08-19 22:57:51 +02:00
parent 6364485b49
commit edbdf43f07

View File

@ -2707,7 +2707,7 @@ PANDAVERSION_H="""
#define PANDA_SEQUENCE_VERSION $VERSION3 #define PANDA_SEQUENCE_VERSION $VERSION3
#define PANDA_VERSION $NVERSION #define PANDA_VERSION $NVERSION
#define PANDA_NUMERIC_VERSION $NVERSION #define PANDA_NUMERIC_VERSION $NVERSION
#define PANDA_VERSION_STR "$VERSION1.$VERSION2.$VERSION3" #define PANDA_VERSION_STR "$VERSION"
#define PANDA_ABI_VERSION_STR "$VERSION1.$VERSION2" #define PANDA_ABI_VERSION_STR "$VERSION1.$VERSION2"
#define PANDA_DISTRIBUTOR "$DISTRIBUTOR" #define PANDA_DISTRIBUTOR "$DISTRIBUTOR"
#define PANDA_PACKAGE_VERSION_STR "$RTDIST_VERSION" #define PANDA_PACKAGE_VERSION_STR "$RTDIST_VERSION"
@ -2826,6 +2826,7 @@ def CreatePandaVersionFiles():
pandaversion_h = pandaversion_h.replace("$VERSION1",str(version1)) pandaversion_h = pandaversion_h.replace("$VERSION1",str(version1))
pandaversion_h = pandaversion_h.replace("$VERSION2",str(version2)) pandaversion_h = pandaversion_h.replace("$VERSION2",str(version2))
pandaversion_h = pandaversion_h.replace("$VERSION3",str(version3)) pandaversion_h = pandaversion_h.replace("$VERSION3",str(version3))
pandaversion_h = pandaversion_h.replace("$VERSION",VERSION)
pandaversion_h = pandaversion_h.replace("$NVERSION",str(nversion)) pandaversion_h = pandaversion_h.replace("$NVERSION",str(nversion))
pandaversion_h = pandaversion_h.replace("$DISTRIBUTOR",DISTRIBUTOR) pandaversion_h = pandaversion_h.replace("$DISTRIBUTOR",DISTRIBUTOR)
pandaversion_h = pandaversion_h.replace("$RTDIST_VERSION",RTDIST_VERSION) pandaversion_h = pandaversion_h.replace("$RTDIST_VERSION",RTDIST_VERSION)