Changeset 2755

Show
Ignore:
Timestamp:
02/06/18 22:02:50 (4 months ago)
Author:
jwoithe
Message:

version.h: remove possible trailing dash from version number defines.

Even after the changes in r2754, an unversioned source tree or a lack of
svnversion on the build system will cause version.h to include entries like

#define PACKAGE_VERSION "2.4.999-"

This patch from Orcan Ogetbil gets rid of the trailing dash. The use of
REVISIONSTRING rather than REVISION mirrors how ffado-diag obtains its
revision number.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/libffado/version.h.in

    r1254 r2755  
    1313 
    1414/* Define to the full name and version of this package. */ 
    15 #define PACKAGE_STRING "$PACKAGE $VERSION-$REVISION
     15#define PACKAGE_STRING "$PACKAGE $VERSION$REVISIONSTRING
    1616 
    1717/* Define to the one symbol short name of this package. */ 
     
    1919 
    2020/* Define to the version of this package. */ 
    21 #define PACKAGE_VERSION "$VERSION-$REVISION
     21#define PACKAGE_VERSION "$VERSION$REVISIONSTRING
    2222 
    2323/* Define to the version of the cace. */ 
    24 #define CACHE_VERSION "$VERSION-$REVISION
     24#define CACHE_VERSION "$VERSION$REVISIONSTRING
    2525 
    2626/* Define to the api version */