From fe50717dc4c6390b7258c048439356040fad2495 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Andr=C3=A9=20Ribes?= Date: Tue, 18 May 2010 17:13:55 +0200 Subject: [PATCH] =?utf8?q?Meilleur=20portabilit=C3=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- configure.ac | 1 + src/daEficas/Makefile.am | 2 ++ src/daEficas/{prefs_DATASSIM.py => prefs_DATASSIM.py.in} | 2 +- 3 files changed, 4 insertions(+), 1 deletion(-) rename src/daEficas/{prefs_DATASSIM.py => prefs_DATASSIM.py.in} (94%) diff --git a/configure.ac b/configure.ac index ac4803c..f46db61 100644 --- a/configure.ac +++ b/configure.ac @@ -68,6 +68,7 @@ AC_CONFIG_FILES([ src/Makefile src/daComposant/Makefile src/daEficas/Makefile + src/daEficas/prefs_DATASSIM.py src/daSalome/Makefile src/daSalome/daGUI/Makefile src/daSalome/daGUI/daGuiImpl/Makefile diff --git a/src/daEficas/Makefile.am b/src/daEficas/Makefile.am index 1ae2f05..bb1f4f5 100644 --- a/src/daEficas/Makefile.am +++ b/src/daEficas/Makefile.am @@ -29,3 +29,5 @@ mypkgpython_PYTHON = \ __init__.py \ prefs_DATASSIM.py \ prefs.py + +EXTRA_DIST = prefs_DATASSIM.py.in diff --git a/src/daEficas/prefs_DATASSIM.py b/src/daEficas/prefs_DATASSIM.py.in similarity index 94% rename from src/daEficas/prefs_DATASSIM.py rename to src/daEficas/prefs_DATASSIM.py.in index 6386308..801e5fa 100644 --- a/src/daEficas/prefs_DATASSIM.py +++ b/src/daEficas/prefs_DATASSIM.py.in @@ -5,7 +5,7 @@ print "import des prefs de Datassim" # Configuration de Eficas # INSTALLDIR, REPINI est obligatoire -INSTALLDIR = "/home/aribes/Dev/Src/CVS_SALOME/EficasV1" +INSTALLDIR = "@EFICAS_DIR@" sys.path[:0]=[INSTALLDIR] # positionnee a repin au debut mise a jour dans configuration REPINI=os.path.dirname(os.path.abspath(__file__)) -- 2.39.2