EXTRA_DIST = AdaoYacsSchemaCreator.py qtEficas_adao_study.py.in # AdaoCatalogGenerator.py module_version.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 $(top_srcdir)/bin/AdaoCatalogGenerator.py $(ADAODIR)/daEficas ADAO_Cata_V0.py
uninstall-hook:
- @rm $(DESTDIR)${salomepythondir}/daEficas/ADAO_Cata_V0.py
+ @rm $(ADAODIR)/daEficas/ADAO_Cata_V0.py
# Configuration de l'installation
INSTALLDIR = "@EFICAS_DIR@"
sys.path.insert(0,INSTALLDIR)
-ADAO_INSTALL_DIR = "@PYTHON_SITE@/salome/daEficas"
+ADAO_INSTALL_DIR = "@PYTHON_SITE@/salome/adao/daEficas"
sys.path.insert(0,ADAO_INSTALL_DIR)
# Configuration
DIR = $(top_srcdir)/src/daComposant/
+ADAODIR = $(DESTDIR)$(salomepythondir)/adao
+
install-data-local:
- ${mkinstalldirs} $(DESTDIR)$(salomepythondir)
- cp -R $(DIR)daCore $(DESTDIR)$(salomepythondir)
- cp -R $(DIR)daAlgorithms $(DESTDIR)$(salomepythondir)
- cp -R $(DIR)daNumerics $(DESTDIR)$(salomepythondir)
+ ${mkinstalldirs} $(ADAODIR)
+ cp -R $(DIR)daCore $(ADAODIR)
+ cp -R $(DIR)daAlgorithms $(ADAODIR)
+ cp -R $(DIR)daNumerics $(ADAODIR)
uninstall-local:
- chmod -R +w $(DESTDIR)$(salomepythondir)
- rm -rf $(DESTDIR)$(salomepythondir)/daCore
- rm -rf $(DESTDIR)$(salomepythondir)/daAlgorithms
- rm -rf $(DESTDIR)$(salomepythondir)/daNumerics
+ chmod -R +w $(ADAODIR)
+ rm -rf $(ADAODIR)/daCore
+ rm -rf $(ADAODIR)/daAlgorithms
+ rm -rf $(ADAODIR)/daNumerics
include $(top_srcdir)/adm_local/make_common_starter.am
-mypkgpythondir =$(salomepythondir)/daEficas
+ADAODIR = $(DESTDIR)$(salomepythondir)/adao
+
+mypkgpythondir = $(ADAODIR)/daEficas
mypkgpython_PYTHON = \
configuration_ADAO.py \
include $(top_srcdir)/adm_local/make_common_starter.am
-salomepython_PYTHON= adaoBuilder.py
+# salomepython_PYTHON= adaoBuilder.py
SUBDIRS= daGUI
DIR = $(top_srcdir)/src/daSalome/
+ADAODIR = $(DESTDIR)$(salomepythondir)/adao
+
install-data-local:
- ${mkinstalldirs} $(DESTDIR)$(salomepythondir)
- cp -R $(DIR)daYacsSchemaCreator $(DESTDIR)$(salomepythondir)
- cp -R $(DIR)daYacsIntegration $(DESTDIR)$(salomepythondir)
- cp $(DIR)adaoBuilder.py $(DESTDIR)$(salomepythondir)
+ ${mkinstalldirs} $(ADAODIR)
+ cp -R $(DIR)daYacsSchemaCreator $(ADAODIR)
+ cp -R $(DIR)daYacsIntegration $(ADAODIR)
+ cp $(DIR)adaoBuilder.py $(ADAODIR)
uninstall-local:
- chmod -R +w $(DESTDIR)$(salomepythondir)
- rm -rf $(DESTDIR)$(salomepythondir)/daYacsSchemaCreator
- rm -rf $(DESTDIR)$(salomepythondir)/daYacsIntegration
- rm $(DESTDIR)$(salomepythondir)/adaoBuilder.py
+ chmod -R +w $(ADAODIR)
+ rm -rf $(ADAODIR)/daYacsSchemaCreator
+ rm -rf $(ADAODIR)/daYacsIntegration
+ rm -f $(ADAODIR)/adaoBuilder.py
include $(top_srcdir)/adm_local/make_common_starter.am
-mypkgpythondir =$(salomepythondir)/daEficasWrapper
+ADAODIR = $(DESTDIR)$(salomepythondir)/adao
+
+mypkgpythondir = $(ADAODIR)/daEficasWrapper
mypkgpython_PYTHON = \
__init__.py \
include $(top_srcdir)/adm_local/make_common_starter.am
-mypkgpythondir =$(salomepythondir)/daGuiImpl
+ADAODIR = $(DESTDIR)$(salomepythondir)/adao
+
+mypkgpythondir = $(ADAODIR)/daGuiImpl
mypkgpython_PYTHON = \
__init__.py \
include $(top_srcdir)/adm_local/make_common_starter.am
-mypkgpythondir =$(salomepythondir)/daUtils
+ADAODIR = $(DESTDIR)$(salomepythondir)/adao
+
+mypkgpythondir = $(ADAODIR)/daUtils
mypkgpython_PYTHON = \
__init__.py \