summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorTomas Babej <tbabej@redhat.com>2014-06-02 07:50:12 +0200
committerPetr Viktorin <pviktori@redhat.com>2014-06-16 19:48:20 +0200
commit3bb9e1bbd5c8ae42e113b52dc88f9ec75b9b1142 (patch)
treeff5183da90063cb1cb47f249b76312baaec9da23 /Makefile
parenta9a4bc08485130fc1bb2257292b415e70e33bfb1 (diff)
downloadfreeipa-3bb9e1bbd5c8ae42e113b52dc88f9ec75b9b1142.tar.gz
freeipa-3bb9e1bbd5c8ae42e113b52dc88f9ec75b9b1142.tar.xz
freeipa-3bb9e1bbd5c8ae42e113b52dc88f9ec75b9b1142.zip
ipaplatform: Change makefiles to accomodate for new platform package
https://fedorahosted.org/freeipa/ticket/4052 Reviewed-By: Petr Viktorin <pviktori@redhat.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 3 insertions, 7 deletions
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; \