]> SALOME platform Git repositories - tools/hxx2salome.git/commitdiff
Salome HOME
portage 64 bits V3_2_0_maintainance_FINAL V3_2_10 V3_2_10rc1 V3_2_9 V3_2_9rc3
authorcrouzet <crouzet>
Tue, 11 Dec 2007 10:00:07 +0000 (10:00 +0000)
committercrouzet <crouzet>
Tue, 11 Dec 2007 10:00:07 +0000 (10:00 +0000)
improvment of with_gui option

scripts/hxx2salome
scripts/template_src.tgz

index a3acf41f1728f0ca55c87e0afb58ef9720669ff3..ccf726dbb0b3ecffda65de5742cb37695d0840c6 100755 (executable)
@@ -198,6 +198,11 @@ generate_module_source()
        'rm' -rf ${CLASS_NAME}_SRC/src/${CLASS_NAME}GUI
        sed "s/${CLASS_NAME}GUI//" < ${CLASS_NAME}_SRC/src/Makefile.in > /tmp/h2smkf.$$
        mv /tmp/h2smkf.$$ ${CLASS_NAME}_SRC/src/Makefile.in
+       sed 's/GENERATED_WITH_GUI="yes"/GENERATED_WITH_GUI="no"/g' < ${CLASS_NAME}_SRC/build_configure > /tmp/h2sbc.$$
+       mv /tmp/h2sbc.$$ ${CLASS_NAME}_SRC/build_configure
+       chmod +x ${CLASS_NAME}_SRC/build_configure
+       sed 's/GENERATED_WITH_GUI="yes"/GENERATED_WITH_GUI="no"/g' < ${CLASS_NAME}_SRC/configure.in.base > /tmp/h2scib.$$
+       mv /tmp/h2scib.$$ ${CLASS_NAME}_SRC/configure.in.base
     fi
 #
     echo -e "\n-> Substitute generated code in idl file"
@@ -248,10 +253,10 @@ generate_module_source()
     if [ -f tmp.xml ]
     then
        cat tmp.xml | sed 's/_Gen//g' > ${CLASS_NAME}Catalog.xml
-   else
+    else
        echo Error with runIDLparser - the catalog was not generated
        exit
-   fi
+    fi
     rm tmp.xml
 #
 }
index 0f470f0a52085d39fda7fc0d33c20f8c6d4aeaf1..6a12d67b70a77320b300e1366076767062b4f72c 100644 (file)
Binary files a/scripts/template_src.tgz and b/scripts/template_src.tgz differ