From 3bb9e1bbd5c8ae42e113b52dc88f9ec75b9b1142 Mon Sep 17 00:00:00 2001 From: Tomas Babej Date: Mon, 2 Jun 2014 07:50:12 +0200 Subject: ipaplatform: Change makefiles to accomodate for new platform package https://fedorahosted.org/freeipa/ticket/4052 Reviewed-By: Petr Viktorin --- Makefile | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index b8315fe0e..f51a89103 100644 --- a/Makefile +++ b/Makefile @@ -8,7 +8,7 @@ PRJ_PREFIX=freeipa RPMBUILD ?= $(PWD)/rpmbuild TARGET ?= master -SUPPORTED_PLATFORM ?= redhat +SUPPORTED_PLATFORM ?= fedora IPA_NUM_VERSION ?= $(shell printf %d%02d%02d $(IPA_VERSION_MAJOR) $(IPA_VERSION_MINOR) $(IPA_VERSION_RELEASE)) @@ -128,6 +128,8 @@ version-update: release-update > version.m4 sed -e s/__VERSION__/$(IPA_VERSION)/ ipapython/setup.py.in \ > ipapython/setup.py + sed -e s/__VERSION__/$(IPA_VERSION)/ ipaplatform/setup.py.in \ + > ipaplatform/setup.py sed -e s/__VERSION__/$(IPA_VERSION)/ ipapython/version.py.in \ > ipapython/version.py sed -e s/__VERSION__/$(IPA_VERSION)/ ipatests/setup.py.in \ @@ -148,12 +150,6 @@ version-update: release-update sed -e s/__VERSION__/$(IPA_VERSION)/ ipa-client/version.m4.in \ > ipa-client/version.m4 - if [ "$(SUPPORTED_PLATFORM)" != "" ]; then \ - sed -e s/SUPPORTED_PLATFORM/$(SUPPORTED_PLATFORM)/ ipapython/services.py.in \ - > ipapython/services.py; \ - touch -r ipapython/services.py.in ipapython/services.py; \ - fi - if [ "$(SKIP_API_VERSION_CHECK)" != "yes" ]; then \ ./makeapi --validate; \ ./makeaci --validate; \ -- cgit