From c8aa00806bd67de0d67a65c5d2d4cfffd9e1a9c2 Mon Sep 17 00:00:00 2001 From: Tomas Babej Date: Tue, 3 Jun 2014 12:35:53 +0200 Subject: ipaplatform: Link to platform module during build time https://fedorahosted.org/freeipa/ticket/4052 Reviewed-By: Petr Viktorin --- Makefile | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index f51a89103..0d0e641c9 100644 --- a/Makefile +++ b/Makefile @@ -150,6 +150,13 @@ version-update: release-update sed -e s/__VERSION__/$(IPA_VERSION)/ ipa-client/version.m4.in \ > ipa-client/version.m4 + if [ "$(SUPPORTED_PLATFORM)" != "" ]; then \ + rm -f ipaplatform/paths.py ipaplatform/services.py ipaplatform/tasks.py; \ + ln -s $(SUPPORTED_PLATFORM)/paths.py ipaplatform/paths.py; \ + ln -s $(SUPPORTED_PLATFORM)/services.py ipaplatform/services.py; \ + ln -s $(SUPPORTED_PLATFORM)/tasks.py ipaplatform/tasks.py; \ + fi + if [ "$(SKIP_API_VERSION_CHECK)" != "yes" ]; then \ ./makeapi --validate; \ ./makeaci --validate; \ -- cgit