]> SALOME platform Git repositories - modules/adao.git/commitdiff
Salome HOME
Adding PYTHON_VERSION to use the right python in Makefile.am
authoresy <emmanuel.streby@opencascade.com>
Mon, 14 Jan 2019 14:50:38 +0000 (15:50 +0100)
committeresy <emmanuel.streby@opencascade.com>
Mon, 14 Jan 2019 14:50:38 +0000 (15:50 +0100)
bin/Makefile.am

index 148a98d567047f421b98ca66934faa0f53f84f19..7f5ace229983a1cf78e7436d4f50cfad524b5496 100644 (file)
@@ -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