From fa03c59c6060a6cba4b28a06156cdfa48b2aa441 Mon Sep 17 00:00:00 2001 From: Jerome Hugues Date: Fri, 27 Nov 2020 01:31:06 +0000 Subject: [PATCH] * Do not install if no PYTHON selected For openaadl/ocarina#281 --- resources/runtime/python/Makefile.am | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/resources/runtime/python/Makefile.am b/resources/runtime/python/Makefile.am index 89bfa7d7..6547f6f8 100644 --- a/resources/runtime/python/Makefile.am +++ b/resources/runtime/python/Makefile.am @@ -19,4 +19,6 @@ ocarina_python = ${shell $(CYGPATH_U) '$(includedir)/ocarina/runtime/python'} install-data-local: $(INSTALL) -d $(DESTDIR)$(ocarina_python) - pip3 install . -t $(DESTDIR)$(ocarina_python) --upgrade + if [ x"$$PYTHON°TEST" = x"yes" ]; then \ + pip3 install . -t $(DESTDIR)$(ocarina_python) --upgrade ; \ + fi