Fix problem with devdocs generation

This commit is contained in:
vsr 2008-11-27 13:17:21 +00:00
parent 00790e2b7c
commit 752f476c73
2 changed files with 18 additions and 23 deletions

View File

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

View File

@ -40,25 +40,20 @@ dev_docs: GEOM/doxyfile
cp -fr $(srcdir)/GEOM ./INPUT; \ cp -fr $(srcdir)/GEOM ./INPUT; \
cp -f ./GEOM/doxyfile ./INPUT; \ cp -f ./GEOM/doxyfile ./INPUT; \
cd 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@"; \ echo "DOXYGEN SUPPORT PYTHON - @DOXYGEN_WITH_PYTHON@"; \
if( test "x@DOXYGEN_WITH_PYTHON@" = "xyes"); then \ if( test "x@DOXYGEN_WITH_PYTHON@" = "xyes"); then \
sed 's|python_extension_must_be_here|*.py|' ./doxyfile1 > ./doxyfile2; \ sed 's|python_extension_must_be_here|*.py|' doxyfile > doxyfile1; \
mv -f doxyfile2 doxyfile1; \
$(DOXYGEN) -u ./doxyfile1; \
else \ else \
sed 's|python_extension_must_be_here||' ./doxyfile1 > ./doxyfile2; \ sed 's|python_extension_must_be_here||' doxyfile > doxyfile1; \
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; \
fi; \ fi; \
mv -f doxyfile1 doxyfile; \ 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`; \ echo "Running doxygen in directory:"`pwd`; \
$(DOXYGEN) ./doxyfile; \ $(DOXYGEN) doxyfile; \
cd ../; \ cd ../; \
cp -fr $(srcdir)/GEOM/sources/ GEOM/ ; \ cp -fr $(srcdir)/GEOM/sources/ GEOM/ ; \
rm -fr INPUT ; \ rm -fr INPUT ; \
@ -69,12 +64,13 @@ clean-local:
install-data-local: install-data-local:
if test -d GEOM; then \ if test -d GEOM; then \
$(INSTALL) -d $(DESTDIR)$(docdir)/tui ; \ $(INSTALL) -d $(docdir)/tui ; \
cp -rp GEOM $(DESTDIR)$(docdir)/tui ; \ cp -rp GEOM $(docdir)/tui ; \
find $(docdir)/tui -name CVS -prune -exec rm -rf {} ";" ; \
fi; fi;
uninstall-local: uninstall-local:
rm -rf $(DESTDIR)$(docdir)/tui/GEOM rm -rf $(docdir)/tui/GEOM
doctuidir=$(docdir)/tui/GEOM doctuidir=$(docdir)/tui/GEOM