mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Add 'api' and 'aci' targets to make
'makeapi' and 'makeaci' has to be run in a particular environment that forces IPA Python modules from the source tree used instead of what might be installed system-wide. Create 'make api' and 'make aci' targets to provide easy access to them. Make sure we run Python interpreter with PYTHONPATH set to force use of the source tree. Signed-off-by: Alexander Bokovoy <abokovoy@redhat.com> Reviewed-By: Florence Blanc-Renaud <frenaud@redhat.com> Reviewed-By: Rob Crittenden <rcritten@redhat.com>
This commit is contained in:
parent
58ad7b74eb
commit
01b207bcd5
16
Makefile.am
16
Makefile.am
@ -272,11 +272,23 @@ $(top_builddir)/ipapython/version.py:
|
|||||||
|
|
||||||
.PHONY: acilint
|
.PHONY: acilint
|
||||||
acilint: $(GENERATED_PYTHON_FILES)
|
acilint: $(GENERATED_PYTHON_FILES)
|
||||||
cd $(srcdir); $(PYTHON) ./makeaci --validate
|
cd $(srcdir); \
|
||||||
|
PYTHONPATH=$(abspath $(top_srcdir)) $(PYTHON) ./makeaci --validate
|
||||||
|
|
||||||
|
.PHONY: aci
|
||||||
|
aci: $(GENERATED_PYTHON_FILES)
|
||||||
|
cd $(srcdir); \
|
||||||
|
PYTHONPATH=$(abspath $(top_srcdir)) $(PYTHON) ./makeaci
|
||||||
|
|
||||||
.PHONY: apilint
|
.PHONY: apilint
|
||||||
apilint: $(GENERATED_PYTHON_FILES)
|
apilint: $(GENERATED_PYTHON_FILES)
|
||||||
cd $(srcdir); $(PYTHON) ./makeapi --validate
|
cd $(srcdir); \
|
||||||
|
PYTHONPATH=$(abspath $(top_srcdir)) $(PYTHON) ./makeapi --validate
|
||||||
|
|
||||||
|
.PHONY: api
|
||||||
|
api: $(GENERATED_PYTHON_FILES)
|
||||||
|
cd $(srcdir); \
|
||||||
|
PYTHONPATH=$(abspath $(top_srcdir)) $(PYTHON) ./makeapi
|
||||||
|
|
||||||
.PHONY: polint
|
.PHONY: polint
|
||||||
polint:
|
polint:
|
||||||
|
Loading…
Reference in New Issue
Block a user