From c48e5fd811326dc64e19490f88003e442815a052 Mon Sep 17 00:00:00 2001 From: Petr Spacek Date: Fri, 21 Oct 2016 22:35:28 +0200 Subject: 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 Reviewed-By: Christian Heimes --- ipapython/version.py.in | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'ipapython') 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 """ -- cgit