[PATCH 1/2] trace-cmd: Makefile - EXTRAVERSION should be set without a leading period

From: John Kacur
Date: Wed Jun 09 2010 - 12:01:50 EST


EXTRAVERSION should be set without a leading period, and then add
the period where necessary in the Makefile

Signed-off-by: John Kacur <jkacur@xxxxxxxxxx>
---
Makefile | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index 1f5d855..0ed5685 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
# trace-cmd version
TC_VERSION = 1
TC_PATCHLEVEL = 0
-TC_EXTRAVERSION = .1
+TC_EXTRAVERSION = 1

# Kernel Shark version
KS_VERSION = 0
@@ -307,7 +307,7 @@ define make_version.h
echo \#define VERSION_CODE $(shell \
expr $(VERSION) \* 256 + $(PATCHLEVEL)); \
echo '#define EXTRAVERSION ' $(EXTRAVERSION); \
- echo '#define VERSION_STRING "'$(VERSION).$(PATCHLEVEL)$(EXTRAVERSION)'"'; \
+ echo '#define VERSION_STRING "'$(VERSION).$(PATCHLEVEL).$(EXTRAVERSION)'"'; \
echo '#define FILE_VERSION '$(FILE_VERSION); \
) > $1
endef
--
1.6.6.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/