Salome HOME
Minor documentation improvements and fixes for internal variables
[modules/adao.git] / bin / Makefile.am
index 65b321cc866fe1a32c3a9ec735479985abe731d9..353f33be927642b3b83d4d1a6341995c81be494a 100644 (file)
@@ -1,4 +1,6 @@
-# Copyright (C) 2010-2012 EDF R&D
+# Copyright (C) 2008-2021 EDF R&D
+#
+# This file is part of SALOME ADAO module
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
 
 include $(top_srcdir)/adm_local/make_common_starter.am
 
-bin_SCRIPTS = AdaoYacsSchemaCreator.py qtEficas_adao_study.py AdaoCatalogGenerator.py
+bin_SCRIPTS = AdaoYacsSchemaCreator.py gui_Adao_QT_Eficas.py # AdaoCatalogGenerator.py module_version.py
+
+EXTRA_DIST = AdaoYacsSchemaCreator.py gui_Adao_QT_Eficas.py # AdaoCatalogGenerator.py module_version.py
 
-EXTRA_DIST = AdaoYacsSchemaCreator.py qtEficas_adao_study.py.in AdaoCatalogGenerator.py
+ADAODIR = $(DESTDIR)$(salomepythondir)/adao
 
 install-data-hook:
-       @export PYTHONPATH=$(DESTDIR)${salomepythondir}:${PYTHONPATH} && python $(top_srcdir)/bin/AdaoCatalogGenerator.py $(DESTDIR)${salomepythondir}/daEficas ADAO_Cata_V0.py
+       @export PYTHONPATH="$(DESTDIR)${salomepythondir}:${PYTHONPATH}" && python${PYTHON_VERSION} $(top_srcdir)/bin/AdaoCatalogGenerator.py $(ADAODIR)/daEficas ADAO_Cata_V0.py
+       @chmod 755 $(top_srcdir)/bin/gui_Adao_QT_Eficas.py
 
 uninstall-hook:
-       @rm  $(DESTDIR)${salomepythondir}/daEficas/ADAO_Cata_V0.py
+       @rm $(ADAODIR)/daEficas/ADAO_Cata_V0.py