]> SALOME platform Git repositories - tools/hxx2salome.git/commitdiff
Salome HOME
improvment of option "without gui"
authorcrouzet <crouzet>
Mon, 10 Dec 2007 13:22:52 +0000 (13:22 +0000)
committercrouzet <crouzet>
Mon, 10 Dec 2007 13:22:52 +0000 (13:22 +0000)
scripts/hxx2salome

index a3acf41f1728f0ca55c87e0afb58ef9720669ff3..44bcce9347d78ebb5d858c15a982a0637320cca7 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"