diff --git a/adm_local/unix/make_commence.in b/adm_local/unix/make_commence.in index 19336a2..e0a24f9 100644 --- a/adm_local/unix/make_commence.in +++ b/adm_local/unix/make_commence.in @@ -1,6 +1,8 @@ # common directories to put headerfiles inc_builddir=$(top_builddir)/include/salome +MODULE_NAME=@MODULE_NAME@ + @SET_MAKE@ SHELL=/bin/sh diff --git a/configure.in.base b/configure.in.base index 42a557a..4bf0796 100644 --- a/configure.in.base +++ b/configure.in.base @@ -22,11 +22,15 @@ AC_CANONICAL_HOST PACKAGE=salome AC_SUBST(PACKAGE) -VERSION=3.2.0 -XVERSION=0x030200 +VERSION=3.2.2 +XVERSION=0x030202 AC_SUBST(VERSION) AC_SUBST(XVERSION) +# set up MODULE_NAME variable for dynamic construction of directories (resources, etc.) +MODULE_NAME=netgenplugin +AC_SUBST(MODULE_NAME) + dnl dnl Initialize source and build root directories dnl @@ -356,7 +360,7 @@ else fi # make other build directories -for rep in salome_adm adm_local doc bin/salome include/salome lib/salome share/salome/resources idl +for rep in salome_adm adm_local doc bin/salome include/salome lib/salome share/salome/resources/${MODULE_NAME} idl do # if test ! -d $rep ; then # eval mkdir $rep diff --git a/src/NETGEN/ReadMeForNgUsers b/src/NETGEN/ReadMeForNgUsers index 4abb2b1..e14d714 100644 --- a/src/NETGEN/ReadMeForNgUsers +++ b/src/NETGEN/ReadMeForNgUsers @@ -9,6 +9,11 @@ Patch the netgen 4.5 distribution: $ cd netgen45 $ patch -p1 < patch_directory/netgen45ForSalome.patch +Set CASROOT environment variable to OCCT installation path, +as Netgen 4.5 uses Open CASCADE Technology: + +$ setenv CASROOT + Then run makeForSalome.sh (it will be created by the patch): $ sh makeForSalome.sh @@ -72,7 +77,7 @@ nglib.o and ngnewdelete.o to the library libnginterface.a and recompile the libraries only. All this job is done by applying the patch and running the script makeForSalome.sh. -Th suggested patch alters some Netgen sources to compile them. +The suggested patch alters some Netgen sources to compile them. Michael SAZONOV m-sazonov@opencascade.com