[lttng-dev] [lttng-tools PATCH] Fix: remove the default GIT_VERSION define to allow different version control

Raphaël Beamonte raphael.beamonte at gmail.com
Tue Jun 3 14:30:09 EDT 2014


Signed-off-by: Raphaël Beamonte <raphael.beamonte at gmail.com>
---
 include/version.h.tmpl | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/include/version.h.tmpl b/include/version.h.tmpl
index 639e6d7..2cab733 100644
--- a/include/version.h.tmpl
+++ b/include/version.h.tmpl
@@ -20,15 +20,13 @@
 #ifndef VERSION_H
 #define VERSION_H
 
-#define GIT_VERSION
-
 /*
  * Define the macro containing the FULL version
  */
 #ifdef GIT_VERSION
 #define FULL_VERSION "" GIT_VERSION
 #else /* GIT_VERSION */
-#define FULL_VERSION "v" VERSION
+#define FULL_VERSION "" VERSION
 #endif /* GIT_VERSION */
 
 #endif /* VERSION_H */
-- 
2.0.0.rc2




More information about the lttng-dev mailing list