Fix problem with devdocs generation

This commit is contained in:
vsr 2008-11-27 15:10:20 +00:00
parent 85c0f44772
commit f15129eb55
4 changed files with 32 additions and 21 deletions

View File

@ -27,3 +27,11 @@
# source path
#
SUBDIRS= salome
usr_docs:
(cd salome && $(MAKE) $(AM_MAKEFLAGS) usr_docs)
docs: usr_docs
dev_docs:
(cd salome && $(MAKE) $(AM_MAKEFLAGS) dev_docs)

View File

@ -41,12 +41,11 @@ usr_docs:
echo "Processing smeshDC.py file: "; \
$(doxygen) ./doxyfile_py; \
cd ./smeshpy_doc; \
filesl=`find .`; \
filesl=`find . -type f`; \
for filen in $${filesl}; do \
sed 's/\([^s1e]\)smeshDC\|^smeshDC/\1smesh/g' $${filen} > ./tmp; \
sed 's/smesh:://g' ./tmp > ./tmp1; \
sed 's/\([^s1e]\)smeshDC\|^smeshDC/\1smesh/g' $${filen} > tmp; \
sed 's/smesh:://g' tmp > $${filen}; \
rm -f tmp; \
mv -f tmp1 $${filen}; \
done; \
cd ..; \
echo "Running doxygen in directory: "`pwd`; \

View File

@ -31,25 +31,20 @@ dev_docs:
cp -fr $(srcdir)/SMESH ./INPUT; \
cp -f ./SMESH/doxyfile ./INPUT; \
cd INPUT; \
sed 's|../../../share/salome|$(top_srcdir)|' ./doxyfile > ./doxyfile1; \
sed 's|../../build/salome|$(top_builddir)|' ./doxyfile1 > ./doxyfile2; \
mv -f doxyfile2 doxyfile1; \
echo "DOXYGEN SUPPORT PYTHON - @DOXYGEN_WITH_PYTHON@"; \
if( test "x@DOXYGEN_WITH_PYTHON@" = "xyes"); then \
sed 's|python_extension_must_be_here|*.py|' ./doxyfile1 > ./doxyfile2; \
mv -f doxyfile2 doxyfile1; \
$(DOXYGEN) -u ./doxyfile1; \
sed 's|python_extension_must_be_here|*.py|' doxyfile > doxyfile1; \
else \
sed 's|python_extension_must_be_here||' ./doxyfile1 > ./doxyfile2; \
mv -f doxyfile2 doxyfile1; \
fi; \
if( test "x@DOXYGEN_WITH_STL@" = "xyes"); then \
sed -e 's|BUILTIN_STL_SUPPORT = NO|BUILTIN_STL_SUPPORT = YES|' ./doxyfile1 > ./doxyfile2; \
mv -f doxyfile2 doxyfile1; \
sed 's|python_extension_must_be_here||' doxyfile > doxyfile1; \
fi; \
mv -f doxyfile1 doxyfile; \
if( test "x@DOXYGEN_WITH_STL@" = "xyes"); then \
sed -e 's|BUILTIN_STL_SUPPORT = NO|BUILTIN_STL_SUPPORT = YES|' doxyfile > doxyfile1; \
mv -f doxyfile1 doxyfile; \
fi; \
$(DOXYGEN) -u doxyfile; \
echo "Running doxygen in directory:"`pwd`; \
$(DOXYGEN) ./doxyfile; \
$(DOXYGEN) doxyfile; \
cd ../; \
cp -fr $(srcdir)/SMESH/sources/ SMESH ; \
rm -fr INPUT
@ -58,3 +53,13 @@ doctuidir=$(docdir)/tui/SMESH
nodist_doctui_DATA= SMESH/doxyfile
EXTRA_DIST+= SMESH/doxyfile.in
install-data-local:
if test -d SMESH; then \
$(INSTALL) -d $(docdir)/tui ; \
cp -rp SMESH $(docdir)/tui ; \
find $(docdir)/tui -name CVS -prune -exec rm -rf {} ";" ; \
fi;
uninstall-local:
rm -rf $(docdir)/tui/SMESH

View File

@ -37,8 +37,7 @@ ABBREVIATE_BRIEF =
ALWAYS_DETAILED_SEC = YES
INLINE_INHERITED_MEMB = YES
FULL_PATH_NAMES = YES
STRIP_FROM_PATH = ../../../share/salome \
../../../build/salome
STRIP_FROM_PATH = @top_srcdir@ @top_builddir@
STRIP_FROM_INC_PATH =
SHORT_NAMES = NO
JAVADOC_AUTOBRIEF = YES
@ -98,8 +97,8 @@ WARN_LOGFILE = log.txt
#---------------------------------------------------------------------------
# configuration options related to the input files
#---------------------------------------------------------------------------
INPUT = ../../../share/salome/src \
../../../share/salome/idl
INPUT = @top_srcdir@/src \
@top_srcdir@/idl
FILE_PATTERNS = *.hxx *.cxx *.h *.c *.hh *.cc *.idl python_extension_must_be_here
RECURSIVE = YES
EXCLUDE =