diff options
author | John Kacur <jkacur@redhat.com> | 2010-06-09 12:01:27 -0400 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2010-06-09 15:22:22 -0400 |
commit | 533f4c1a99bb483f9d0beb341b9bd1027712d693 (patch) | |
tree | 57f69f84b08563dfdd054f6f971678f05b186f1f | |
parent | 5a863b6e82eff4ea370b9f44992172f8263a1c71 (diff) |
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 <jkacur@redhat.com>
LKML-Reference: <1276099288-3029-2-git-send-email-jkacur@redhat.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,7 +1,7 @@ | |||
1 | # trace-cmd version | 1 | # trace-cmd version |
2 | TC_VERSION = 1 | 2 | TC_VERSION = 1 |
3 | TC_PATCHLEVEL = 0 | 3 | TC_PATCHLEVEL = 0 |
4 | TC_EXTRAVERSION = | 4 | TC_EXTRAVERSION = 0 |
5 | 5 | ||
6 | # Kernel Shark version | 6 | # Kernel Shark version |
7 | KS_VERSION = 0 | 7 | KS_VERSION = 0 |
@@ -324,7 +324,7 @@ define make_version.h | |||
324 | echo \#define VERSION_CODE $(shell \ | 324 | echo \#define VERSION_CODE $(shell \ |
325 | expr $(VERSION) \* 256 + $(PATCHLEVEL)); \ | 325 | expr $(VERSION) \* 256 + $(PATCHLEVEL)); \ |
326 | echo '#define EXTRAVERSION ' $(EXTRAVERSION); \ | 326 | echo '#define EXTRAVERSION ' $(EXTRAVERSION); \ |
327 | echo '#define VERSION_STRING "'$(VERSION).$(PATCHLEVEL)$(EXTRAVERSION)'"'; \ | 327 | echo '#define VERSION_STRING "'$(VERSION).$(PATCHLEVEL).$(EXTRAVERSION)'"'; \ |
328 | echo '#define FILE_VERSION '$(FILE_VERSION); \ | 328 | echo '#define FILE_VERSION '$(FILE_VERSION); \ |
329 | ) > $1 | 329 | ) > $1 |
330 | endef | 330 | endef |