summaryrefslogtreecommitdiff
path: root/Rules.mak
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2007-03-19 09:49:04 +0000
committerMike Frysinger <vapier@gentoo.org>2007-03-19 09:49:04 +0000
commit6bc45b2d57f845be8bc76b6071a223660605a58c (patch)
treeaffb241302283ab73a7bbdb58bb5b7756368353d /Rules.mak
parenta9216d27455b7eaa726d20a31d5030a6381888ed (diff)
#1273 if EXTRAVERSION is set, make sure we respect it
Diffstat (limited to 'Rules.mak')
-rw-r--r--Rules.mak4
1 files changed, 4 insertions, 0 deletions
diff --git a/Rules.mak b/Rules.mak
index 3cc699f26..c19908ad1 100644
--- a/Rules.mak
+++ b/Rules.mak
@@ -78,7 +78,11 @@ export RUNTIME_PREFIX DEVEL_PREFIX KERNEL_HEADERS
MAJOR_VERSION := 0
MINOR_VERSION := 9
SUBLEVEL := 29
+EXTRAVERSION := 4
VERSION := $(MAJOR_VERSION).$(MINOR_VERSION).$(SUBLEVEL)
+ifneq ($(EXTRAVERSION),)
+VERSION := $(VERSION).$(EXTRAVERSION)
+endif
# Ensure consistent sort order, 'gcc -print-search-dirs' behavior, etc.
LC_ALL := C
export MAJOR_VERSION MINOR_VERSION SUBLEVEL VERSION LC_ALL