From 533f4c1a99bb483f9d0beb341b9bd1027712d693 Mon Sep 17 00:00:00 2001 From: John Kacur Date: Wed, 9 Jun 2010 18:01:27 +0200 Subject: build: EXTRAVERSION should be set without a leading period EXTRAVERSION should be set without a leading period, and then add the period where necessary in the Makefile Signed-off-by: John Kacur LKML-Reference: <1276099288-3029-2-git-send-email-jkacur@redhat.com> Signed-off-by: Steven Rostedt --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 03b29f9..41fb0ec 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # trace-cmd version TC_VERSION = 1 TC_PATCHLEVEL = 0 -TC_EXTRAVERSION = +TC_EXTRAVERSION = 0 # Kernel Shark version KS_VERSION = 0 @@ -324,7 +324,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 -- cgit v1.2.2