From f16a176c3277504f34fc65418c6347e1d7f4ac26 Mon Sep 17 00:00:00 2001 From: eap Date: Wed, 2 Mar 2011 15:26:23 +0000 Subject: [PATCH] fix "Replacing geompyDC by geompy" make temporary geompy.py in the current dir to avoid overwriting geompy.py when building in GEOM_SRC --- doc/salome/gui/GEOM/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/salome/gui/GEOM/Makefile.am b/doc/salome/gui/GEOM/Makefile.am index a60d4680a..f6ece9d6c 100755 --- a/doc/salome/gui/GEOM/Makefile.am +++ b/doc/salome/gui/GEOM/Makefile.am @@ -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 -- 2.39.2