summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorPetr Viktorin <pviktori@redhat.com>2014-03-13 14:39:03 +0100
committerPetr Viktorin <pviktori@redhat.com>2014-05-27 12:08:54 +0200
commit7f465e693cd7fceefb284a0b3831504fd2ddbeb4 (patch)
tree344afed5165a89984a4aa5994fe387000fd7ddf4 /Makefile
parent8cde6f0d6e6b43c83f192ff8c1ff6107fa0736aa (diff)
downloadfreeipa-7f465e693cd7fceefb284a0b3831504fd2ddbeb4.tar.gz
freeipa-7f465e693cd7fceefb284a0b3831504fd2ddbeb4.tar.xz
freeipa-7f465e693cd7fceefb284a0b3831504fd2ddbeb4.zip
ipalib.version: Add VENDOR_VERSION
This will allow us to make vendors' lives easier by embedding a vendor tag to installation logs. Part of the work for: https://fedorahosted.org/freeipa/ticket/4219 Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index ee10e3aa7..918c8e7f3 100644
--- a/Makefile
+++ b/Makefile
@@ -38,6 +38,8 @@ endif # beta
endif # pre
endif # ipa_version
+IPA_VENDOR_VERSION=$(IPA_VERSION)$(IPA_VENDOR_VERSION_SUFFIX)
+
TARBALL_PREFIX=freeipa-$(IPA_VERSION)
TARBALL=$(TARBALL_PREFIX).tar.gz
@@ -133,6 +135,7 @@ version-update: release-update
sed -e s/__NUM_VERSION__/$(IPA_NUM_VERSION)/ install/ui/src/libs/loader.js.in \
> install/ui/src/libs/loader.js
perl -pi -e "s:__NUM_VERSION__:$(IPA_NUM_VERSION):" ipapython/version.py
+ perl -pi -e "s:__VENDOR_VERSION__:$(IPA_VENDOR_VERSION):" ipapython/version.py
perl -pi -e "s:__API_VERSION__:$(IPA_API_VERSION_MAJOR).$(IPA_API_VERSION_MINOR):" ipapython/version.py
touch -r ipapython/version.py.in ipapython/version.py
sed -e s/__VERSION__/$(IPA_VERSION)/ daemons/ipa-version.h.in \