Messages in this thread Patch in this message | | | From | John Kacur <> | Subject | [PATCH 1/2] trace-cmd: Makefile - EXTRAVERSION should be set without a leading period | Date | Wed, 9 Jun 2010 18:01:27 +0200 |
| |
EXTRAVERSION should be set without a leading period, and then add the period where necessary in the Makefile
Signed-off-by: John Kacur <jkacur@redhat.com> --- 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
| |