From: esy Date: Mon, 14 Jan 2019 14:50:38 +0000 (+0100) Subject: Adding PYTHON_VERSION to use the right python in Makefile.am X-Git-Tag: V9_3_0.1-prealpha1~10 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=05748d105ff7061d8295b1e6fa7b557bc499ae2b;p=modules%2Fadao.git Adding PYTHON_VERSION to use the right python in Makefile.am --- diff --git a/bin/Makefile.am b/bin/Makefile.am index 148a98d..7f5ace2 100644 --- a/bin/Makefile.am +++ b/bin/Makefile.am @@ -29,7 +29,7 @@ EXTRA_DIST = AdaoYacsSchemaCreator.py qtEficas_adao_study.py.in # AdaoCatalogGen ADAODIR = $(DESTDIR)$(salomepythondir)/adao install-data-hook: - @export PYTHONPATH="$(DESTDIR)${salomepythondir}:${PYTHONPATH}" && python $(top_srcdir)/bin/AdaoCatalogGenerator.py $(ADAODIR)/daEficas ADAO_Cata_V0.py + @export PYTHONPATH="$(DESTDIR)${salomepythondir}:${PYTHONPATH}" && python${PYTHON_VERSION} $(top_srcdir)/bin/AdaoCatalogGenerator.py $(ADAODIR)/daEficas ADAO_Cata_V0.py uninstall-hook: @rm $(ADAODIR)/daEficas/ADAO_Cata_V0.py