Skip to content

Commit

Permalink
* Do not install if no PYTHON selected
Browse files Browse the repository at this point in the history
    For #281
  • Loading branch information
yoogx committed Nov 27, 2020
1 parent 39f2b6f commit fa03c59
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion resources/runtime/python/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit fa03c59

Please sign in to comment.