]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
fix "Replacing geompyDC by geompy"
authoreap <eap@opencascade.com>
Wed, 2 Mar 2011 15:26:23 +0000 (15:26 +0000)
committereap <eap@opencascade.com>
Wed, 2 Mar 2011 15:26:23 +0000 (15:26 +0000)
   make temporary geompy.py in the current dir to avoid overwriting
   geompy.py when building in GEOM_SRC

doc/salome/gui/GEOM/Makefile.am

index a60d4680a2746280db90e500fc5108ad469e42ce..f6ece9d6cb44614c6fcca35aebf9cdb2595fdfe6 100755 (executable)
@@ -35,7 +35,7 @@ usr_docs: doxyfile_tui doxyfile_py doxyfile
        echo "===========================================" ;                    \
        sed -e "/class geompyDC/d" -e "s/^ *#/#/g" -e "s/^ *def /def /g"        \
          -e "s/geompyDC/geompy/g" $(top_srcdir)/src/GEOM_SWIG/geompyDC.py >    \
-         $(top_builddir)/src/GEOM_SWIG/geompy.py ;                             \
+         ./geompy.py ;                                                         \
        echo "===========================================" ;                    \
        echo "Generating examples documentation" ;                              \
        echo "===========================================" ;                    \
@@ -48,7 +48,7 @@ usr_docs: doxyfile_tui doxyfile_py doxyfile
        echo "Generating GUI documentation" ;                                   \
        echo "===========================================" ;                    \
        $(DOXYGEN) doxyfile ;                                                   \
-       rm -f $(top_builddir)/src/GEOM_SWIG/geompy.py
+       rm -f ./geompy.py
 
 docs: usr_docs