diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2014-02-07 08:50:39 +0100 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2014-02-07 09:01:02 +0100 |
commit | 8a93130b066efd90f5b7d775cb1b5812e7677863 (patch) | |
tree | a7bcf6c5c94ec9da89b684cf19e4126ffddf5001 /src/utils.cpp | |
parent | 2356d1f77f4a2a3dd75638621d687dc9d3771d6c (diff) | |
download | dabmux-8a93130b066efd90f5b7d775cb1b5812e7677863.tar.gz dabmux-8a93130b066efd90f5b7d775cb1b5812e7677863.tar.bz2 dabmux-8a93130b066efd90f5b7d775cb1b5812e7677863.zip |
repair versioning and tarball generationv0.4.0
Diffstat (limited to 'src/utils.cpp')
-rw-r--r-- | src/utils.cpp | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/utils.cpp b/src/utils.cpp index b7e1400..05a2d87 100644 --- a/src/utils.cpp +++ b/src/utils.cpp @@ -47,8 +47,14 @@ time_t getDabTime() void header_message() { etiLog.log(info, - "Welcome to %s %s%s, compiled at %s, %s\n\n", - PACKAGE_NAME, PACKAGE_VERSION, GITVERSION, __DATE__, __TIME__); + "Welcome to %s %s, compiled at %s, %s\n\n", + PACKAGE_NAME, +#if defined(GITVERSION) + GITVERSION, +#else + PACKAGE_VERSION, +#endif + __DATE__, __TIME__); etiLog.log(info, "Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012\n" "Her Majesty the Queen in Right of Canada,\n" |