aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJani Välimaa <wally@mageia.org>2014-02-08 20:15:25 +0200
committerJani Välimaa <wally@mageia.org>2014-02-08 20:19:13 +0200
commit96b0511b49d583e781227fcf25af9d85938d7ed3 (patch)
tree532453356bece14b26639240d56d09cc92638c5c
parenta583ecf9e4c7100743143ecec6bde8a281c64adc (diff)
downloadconfig-96b0511b49d583e781227fcf25af9d85938d7ed3.tar
config-96b0511b49d583e781227fcf25af9d85938d7ed3.tar.gz
config-96b0511b49d583e781227fcf25af9d85938d7ed3.tar.bz2
config-96b0511b49d583e781227fcf25af9d85938d7ed3.tar.xz
config-96b0511b49d583e781227fcf25af9d85938d7ed3.zip
Change versioning scheme a bit
This new scheme means one more extra digit for new releases for mga4, but we'll have to just live with it. Also releases for mga5 doesn't start from number one.
-rw-r--r--Makefile20
1 files changed, 9 insertions, 11 deletions
diff --git a/Makefile b/Makefile
index 496587e..cf50c99 100644
--- a/Makefile
+++ b/Makefile
@@ -7,28 +7,26 @@
NAME = mageia-xfce-config
# Versioning scheme uses Xfce version as base. 'Zero' after $(XFCEVERSION)
-# separates our versions from Xfce version. Next part, $(BUILD), identifies
-# sequential release number of the package. Last $(BUGFIX) part is only used
-# when doing a bug fix release for stable Mageia versions and is normally
-# 'zero'.
+# separates our versions from Xfce version. Next part, $(MGAVERSION), identifies
+# current Mageia release. Last $(RELEASE) part identifies sequential release
+# number of the package.
#
# So:
# * Change $(XFCEVERSION) only when Xfce version changes.
-# * Change $(BUILD) when doing a new release.
-# * Use $(BUGFIX) only when releasing a bug fix release for stable Mageia
-# versions.
+# * Change $(MGAVERSION) when doing a new release after new stable Mageia version is released
+# * Increase $(RELEASE) when releasing a new release.
# * Note that numbering goes with following sequence 0,1..9,10,11..99,100,101
# and so on.
#
# Examples of version numbers:
# * 4.100.1.0 (Initial Xfce 4.10 settings version)
-# * 4.100.5.2 (Second bugfix release for 5th release of Xfce 4.10 settings)
+# * 4.100.5.2 (Second release of Xfce 4.10 settings for Mageia 5)
XFCEVERSION = 4.10
-BUILD = 5
-BUGFIX = 3
+MGAVERSION = 5
+RELEASE = 3
-VERSION = $(XFCEVERSION)0.$(BUILD).$(BUGFIX)
+VERSION = $(XFCEVERSION)0.$(MGAVERSION).$(RELEASE)
DESTDIR=
prefix=/usr