mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-15 00:00:32 +05:00
Update for Win 32: documentation generation (+imp for Linux)
This commit is contained in:
parent
bdbf6c5942
commit
25fb74fc29
@ -32,22 +32,20 @@ guidoc_DATA = images/head.png
|
|||||||
|
|
||||||
usr_docs: doxyfile_py doxyfile
|
usr_docs: doxyfile_py doxyfile
|
||||||
echo "===========================================" ; \
|
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 "Generating Python interface documentation"; \
|
||||||
echo "===========================================" ; \
|
echo "===========================================" ; \
|
||||||
$(DOXYGEN) doxyfile_py ; \
|
$(DOXYGEN) doxyfile_py ; \
|
||||||
echo "===========================================" ; \
|
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 "Generating GUI documentation" ; \
|
||||||
echo "===========================================" ; \
|
echo "===========================================" ; \
|
||||||
$(DOXYGEN) doxyfile ;
|
$(DOXYGEN) doxyfile ; \
|
||||||
|
rm -f $(top_builddir)/src/SMESH_SWIG/smesh.py
|
||||||
|
|
||||||
docs: usr_docs
|
docs: usr_docs
|
||||||
|
|
||||||
|
@ -98,8 +98,8 @@ EXAMPLE_RECURSIVE = NO
|
|||||||
#---------------------------------------------------------------------------
|
#---------------------------------------------------------------------------
|
||||||
#Input related options
|
#Input related options
|
||||||
#---------------------------------------------------------------------------
|
#---------------------------------------------------------------------------
|
||||||
INPUT = @top_srcdir@/src/SMESH_SWIG
|
INPUT = @top_builddir@/src/SMESH_SWIG
|
||||||
FILE_PATTERNS = smeshDC.py
|
FILE_PATTERNS = smesh.py
|
||||||
IMAGE_PATH = @srcdir@/images
|
IMAGE_PATH = @srcdir@/images
|
||||||
RECURSIVE = NO
|
RECURSIVE = NO
|
||||||
EXAMPLE_PATH = @top_srcdir@/src/SMESH_SWIG
|
EXAMPLE_PATH = @top_srcdir@/src/SMESH_SWIG
|
||||||
|
Loading…
Reference in New Issue
Block a user