]> SALOME platform Git repositories - plugins/netgenplugin.git/commitdiff
Salome HOME
Fix to bug PAL10465.
authorasv <asv@opencascade.com>
Tue, 27 Jun 2006 07:45:55 +0000 (07:45 +0000)
committerasv <asv@opencascade.com>
Tue, 27 Jun 2006 07:45:55 +0000 (07:45 +0000)
Modification of resource files location in "build" and "installation" directories.  Now resource files are placed in share/salome/resources/<module_name>.  Various configuration files (configure.in.base, make_module/conclude/commence, etc.) are changed.

adm_local/unix/make_commence.in
configure.in.base

index 19336a2222717d2c82f5d329c450829b8cb967e4..e0a24f9c1dbd6e4c2db2cae0ec1a8d0aceed0e76 100644 (file)
@@ -1,6 +1,8 @@
 # common directories to put headerfiles
 inc_builddir=$(top_builddir)/include/salome
 
+MODULE_NAME=@MODULE_NAME@
+
 @SET_MAKE@
 SHELL=/bin/sh
 
index 42a557a50f6e5e81e854e43daa54c6badcd5aea4..e5065697f4bbedfc1567c88b7935d2bf1d942b71 100644 (file)
@@ -27,6 +27,10 @@ XVERSION=0x030200
 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