Module: xenomai-3
Branch: next
Commit: fa9133cea6916ae1ebebccdd84592b06002d5caa
URL:    
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=fa9133cea6916ae1ebebccdd84592b06002d5caa

Author: Philippe Gerum <r...@xenomai.org>
Date:   Fri Oct 16 19:06:44 2015 +0200

boilerplate/version: fix version suffix for non-devel release

---

 lib/boilerplate/version.c |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/lib/boilerplate/version.c b/lib/boilerplate/version.c
index 271349d..d28c496 100644
--- a/lib/boilerplate/version.c
+++ b/lib/boilerplate/version.c
@@ -19,7 +19,9 @@
 #include "git-stamp.h"
 
 #ifndef GIT_STAMP
-#define GIT_STAMP  ""
+#define devel_suffix  ""
+#else
+#define devel_suffix  " -- " GIT_STAMP
 #endif
 
 #ifdef CONFIG_XENO_COBALT
@@ -29,7 +31,7 @@
 #endif
 
 const char *xenomai_version_string = PACKAGE_NAME \
-       core_suffix PACKAGE_VERSION " -- " GIT_STAMP;
+       core_suffix PACKAGE_VERSION devel_suffix;
 
 #ifdef __PROGRAM__
 


_______________________________________________
Xenomai-git mailing list
Xenomai-git@xenomai.org
http://xenomai.org/mailman/listinfo/xenomai-git

Reply via email to