mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
ipaplatform: Link to platform module during build time
https://fedorahosted.org/freeipa/ticket/4052 Reviewed-By: Petr Viktorin <pviktori@redhat.com>
This commit is contained in:
parent
6906eed27e
commit
c8aa00806b
6
.gitignore
vendored
6
.gitignore
vendored
@ -68,6 +68,10 @@ freeipa2-dev-doc
|
||||
|
||||
/ipapython/setup.py
|
||||
/ipapython/version.py
|
||||
/ipapython/services.py
|
||||
!/ipapython/Makefile
|
||||
!/ipapython/py_default_encoding/Makefile
|
||||
|
||||
/ipaplatform/setup.py
|
||||
/ipaplatform/tasks.py
|
||||
/ipaplatform/services.py
|
||||
/ipaplatform/paths.py
|
||||
|
7
Makefile
7
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; \
|
||||
|
Loading…
Reference in New Issue
Block a user