Update for Win 32: documentation generation (+imp for Linux)

This commit is contained in:
ana 2010-10-14 07:18:36 +00:00
parent bdbf6c5942
commit 25fb74fc29
2 changed files with 17 additions and 19 deletions

View File

@ -31,23 +31,21 @@ guidoc_DATA = images/head.png
usr_docs: doxyfile_py doxyfile
echo "===========================================" ; \
echo "Generating Python interface documentation"; \
echo "===========================================" ; \
$(DOXYGEN) doxyfile_py ; \
echo "===========================================" ; \
echo "Replacing smeshDC by smesh" ; \
echo "===========================================" ; \
files=`find smeshpy_doc -type f` ; \
for filen in $${files} ; do \
sed -e "s/\<smeshDC\>/smesh/g" -e "s/smesh\.smesh/smesh/g" \
-e "s/smesh::smesh/smesh/g" $${filen} > $${filen}_ ; \
mv -f $${filen}_ $${filen} ; \
done ; \
echo "===========================================" ; \
echo "Generating GUI documentation" ; \
echo "===========================================" ; \
$(DOXYGEN) doxyfile ;
echo "===========================================" ; \
echo "Replacing smeshDC by smesh" ; \
echo "===========================================" ; \
sed -e "/class smeshDC/d" -e "s/^ *#/#/g" -e "s/^ *def /def /g" \
-e "s/smeshDC/smesh/g" $(top_srcdir)/src/SMESH_SWIG/smeshDC.py > \
$(top_builddir)/src/SMESH_SWIG/smesh.py ; \
echo "===========================================" ; \
echo "Generating Python interface documentation"; \
echo "===========================================" ; \
$(DOXYGEN) doxyfile_py ; \
echo "===========================================" ; \
echo "Generating GUI documentation" ; \
echo "===========================================" ; \
$(DOXYGEN) doxyfile ; \
rm -f $(top_builddir)/src/SMESH_SWIG/smesh.py
docs: usr_docs

View File

@ -98,8 +98,8 @@ EXAMPLE_RECURSIVE = NO
#---------------------------------------------------------------------------
#Input related options
#---------------------------------------------------------------------------
INPUT = @top_srcdir@/src/SMESH_SWIG
FILE_PATTERNS = smeshDC.py
INPUT = @top_builddir@/src/SMESH_SWIG
FILE_PATTERNS = smesh.py
IMAGE_PATH = @srcdir@/images
RECURSIVE = NO
EXAMPLE_PATH = @top_srcdir@/src/SMESH_SWIG