From 05748d105ff7061d8295b1e6fa7b557bc499ae2b Mon Sep 17 00:00:00 2001 From: esy Date: Mon, 14 Jan 2019 15:50:38 +0100 Subject: [PATCH] Adding PYTHON_VERSION to use the right python in Makefile.am --- bin/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.2