summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorLynn Root <lroot@redhat.com>2012-11-05 03:58:45 -0500
committerMartin Kosek <mkosek@redhat.com>2012-12-11 11:02:11 +0100
commit9ee8e11164d4456345c69ffe6c5a44829e8cba45 (patch)
tree750f56c6fb64fc3ce24f065c8d362e7c78817542 /Makefile
parent4eefb06a84779141f2d56fd06ce9cd7dd4b74cea (diff)
downloadfreeipa-9ee8e11164d4456345c69ffe6c5a44829e8cba45.tar.gz
freeipa-9ee8e11164d4456345c69ffe6c5a44829e8cba45.tar.xz
freeipa-9ee8e11164d4456345c69ffe6c5a44829e8cba45.zip
Added the ability to do Beta versioning
The VERSION file and Makefile now handles beta versioning when given an argument. Ticket: https://fedorahosted.org/freeipa/ticket/2893
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 32a46cacb..63672b23a 100644
--- a/Makefile
+++ b/Makefile
@@ -24,11 +24,15 @@ ifndef IPA_VERSION
ifdef IPA_VERSION_PRE_RELEASE
IPA_VERSION=$(IPA_VERSION_MAJOR).$(IPA_VERSION_MINOR).$(IPA_VERSION_RELEASE).pre$(IPA_VERSION_PRE_RELEASE)
else
+ifdef IPA_VERSION_BETA_RELEASE
+IPA_VERSION=$(IPA_VERSION_MAJOR).$(IPA_VERSION_MINOR).$(IPA_VERSION_RELEASE).beta$(IPA_VERSION_BETA_RELEASE)
+else
ifdef IPA_VERSION_RC_RELEASE
IPA_VERSION=$(IPA_VERSION_MAJOR).$(IPA_VERSION_MINOR).$(IPA_VERSION_RELEASE).rc$(IPA_VERSION_RC_RELEASE)
else
IPA_VERSION=$(IPA_VERSION_MAJOR).$(IPA_VERSION_MINOR).$(IPA_VERSION_RELEASE)
endif # rc
+endif # beta
endif # pre
endif # ipa_version