fix "Replacing geompyDC by geompy"

make temporary geompy.py in the current dir to avoid overwriting
   geompy.py when building in GEOM_SRC
This commit is contained in:
eap 2011-03-02 15:26:23 +00:00
parent 0f74641d7b
commit f16a176c32

View File

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