From 5c27d7df1eabbe47c88430b2f7c0c3dbb681005f Mon Sep 17 00:00:00 2001 From: vsr Date: Thu, 27 Nov 2008 10:52:13 +0000 Subject: [PATCH] Fix problem with devdocs generation --- doc/Makefile.am | 8 ++++++++ doc/salome/tui/GUI/doxyfile.in | 11 +++++------ doc/salome/tui/Makefile.am | 19 +++++++------------ 3 files changed, 20 insertions(+), 18 deletions(-) diff --git a/doc/Makefile.am b/doc/Makefile.am index a820687c8..3343ff554 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -25,3 +25,11 @@ # $Header$ # SUBDIRS= salome + +usr_docs: + (cd salome && $(MAKE) $(AM_MAKEFLAGS) usr_docs) + +docs: usr_docs + +dev_docs: + (cd salome && $(MAKE) $(AM_MAKEFLAGS) dev_docs) diff --git a/doc/salome/tui/GUI/doxyfile.in b/doc/salome/tui/GUI/doxyfile.in index 5268ef970..8abdb4f72 100755 --- a/doc/salome/tui/GUI/doxyfile.in +++ b/doc/salome/tui/GUI/doxyfile.in @@ -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,10 +97,10 @@ WARN_LOGFILE = log.txt #--------------------------------------------------------------------------- # configuration options related to the input files #--------------------------------------------------------------------------- -INPUT = ../../../share/salome/src \ - ../../../share/salome/bin \ - ../../../share/salome/idl \ - ../../../build/salome/bin +INPUT = @top_srcdir@/src \ + @top_srcdir@/bin \ + @top_srcdir@/idl \ + @top_builddir@/bin FILE_PATTERNS = *.idl *.hxx *.cxx *.h *.c *.hh *.cc python_extension_must_be_here RECURSIVE = YES EXCLUDE = diff --git a/doc/salome/tui/Makefile.am b/doc/salome/tui/Makefile.am index 193a2761c..6a74285c8 100644 --- a/doc/salome/tui/Makefile.am +++ b/doc/salome/tui/Makefile.am @@ -31,25 +31,20 @@ dev_docs: cp -fr $(srcdir)/GUI ./INPUT; \ cp -f ./GUI/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; \ + 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|' ./doxyfile1 > ./doxyfile2; \ - mv -f doxyfile2 doxyfile1; \ + sed -e 's|BUILTIN_STL_SUPPORT = NO|BUILTIN_STL_SUPPORT = YES|' doxyfile > doxyfile1; \ + mv -f doxyfile1 doxyfile; \ fi; \ - mv -f doxyfile1 doxyfile; \ + $(DOXYGEN) -u doxyfile; \ echo "Running doxygen in directory:"`pwd`; \ - $(DOXYGEN) ./doxyfile; \ + $(DOXYGEN) doxyfile; \ cd ../; \ cp -fr $(srcdir)/GUI/sources/ GUI/ ; \ rm -fr INPUT -- 2.39.2