summaryrefslogtreecommitdiffstats
path: root/ipapython
diff options
context:
space:
mode:
authorPetr Spacek <pspacek@redhat.com>2016-10-21 22:35:28 +0200
committerMartin Babinsky <mbabinsk@redhat.com>2016-11-09 13:08:32 +0100
commitc48e5fd811326dc64e19490f88003e442815a052 (patch)
treee63d94b25d76b643dc05d6e2da2e9daef7438b40 /ipapython
parent2725e440bf1e4930f9b1d19223424bcb0d4b7066 (diff)
downloadfreeipa-c48e5fd811326dc64e19490f88003e442815a052.tar.gz
freeipa-c48e5fd811326dc64e19490f88003e442815a052.tar.xz
freeipa-c48e5fd811326dc64e19490f88003e442815a052.zip
Build: move version handling from Makefile to configure
Version information is now in VERSION.m4 instead of VERSION. Makefile target version-update was minimized and configure can be run before make. Makefile temporarily contains hardcoded version which has to match the one specified in VERSION.m4. This is preparatory step which will allow us to replace hand-made Makefile with one generated by Automake. https://fedorahosted.org/freeipa/ticket/6418 Reviewed-By: Martin Basti <mbasti@redhat.com> Reviewed-By: Christian Heimes <cheimes@redhat.com>
Diffstat (limited to 'ipapython')
-rw-r--r--ipapython/version.py.in8
1 files changed, 4 insertions, 4 deletions
diff --git a/ipapython/version.py.in b/ipapython/version.py.in
index fab260254..9dc9714f9 100644
--- a/ipapython/version.py.in
+++ b/ipapython/version.py.in
@@ -18,10 +18,10 @@
#
# The full version including strings
-VERSION="__VERSION__"
+VERSION="@VERSION@"
# A fuller version including the vendor tag (e.g. 3.3.3-34.fc20)
-VENDOR_VERSION="__VENDOR_VERSION__"
+VENDOR_VERSION="@VERSION@@VENDOR_SUFFIX@"
# Just the numeric portion of the version so one can do direct numeric
@@ -41,11 +41,11 @@ VENDOR_VERSION="__VENDOR_VERSION__"
# IPA 3.2.1: NUM_VERSION=30201
# IPA 3.2.99: NUM_VERSION=30299 (development version)
# IPA 3.3.0: NUM_VERSION=30300
-NUM_VERSION=__NUM_VERSION__
+NUM_VERSION=@NUM_VERSION@
# The version of the API.
-API_VERSION=u'__API_VERSION__'
+API_VERSION=u'@API_VERSION@'
DEFAULT_PLUGINS = frozenset(l.strip() for l in """