From 96b0511b49d583e781227fcf25af9d85938d7ed3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jani=20V=C3=A4limaa?= Date: Sat, 8 Feb 2014 20:15:25 +0200 Subject: 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. --- Makefile | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) (limited to 'Makefile') 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 -- cgit v1.2.1