mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-27 09:50:34 +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
|
||||
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 "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 ;
|
||||
$(DOXYGEN) doxyfile ; \
|
||||
rm -f $(top_builddir)/src/SMESH_SWIG/smesh.py
|
||||
|
||||
docs: usr_docs
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user