]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
Added support for doxygen1.4.4 and higher (with PYTHON documenation support)
authorenk <enk@opencascade.com>
Thu, 30 Mar 2006 12:29:15 +0000 (12:29 +0000)
committerenk <enk@opencascade.com>
Thu, 30 Mar 2006 12:29:15 +0000 (12:29 +0000)
adm_local/unix/make_commence.in
doc/salome/tui/Makefile.in
doc/salome/tui/VISU/doxyfile

index e1d6d343abc9f13afa7c92968d7a5463591aef8e..cab6f0e5c5db8edf52bef0c32c7a02840ff34dc4 100644 (file)
@@ -174,6 +174,8 @@ CXXFLAGS+= $(CORBA_CXXFLAGS)
 LIBS+=$(CORBA_LIBS)
 
 DOXYGEN = @DOXYGEN@
+DOXYGEN_WITH_PYTHON = @DOXYGEN_WITH_PYTHON@
+DOXYGEN_WITH_STL = @DOXYGEN_WITH_STL@
 
 ## Shared libraries
 LT_STATIC_EXEC=@LT_STATIC_EXEC@
index 44faf46d9fb7c17ddf76b55b4881af49aeaacc20..de74fc0b254edad447acad17edd9bce5cb842f7c 100644 (file)
@@ -20,6 +20,21 @@ docs:
        cp -fr $(srcdir)/VISU ./INPUT; \
        cd INPUT; \
        sed 's|../../../share/salome|$(root_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; \
+       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; \
+       fi; \
        mv -f doxyfile1 doxyfile; \
        $(doxygen) ./doxyfile; \
        cd ..; \
index 87ec987126e63d87a44103c51cb652a9b977b9c1..3e76d3d46ede2f78c6a5f2db92232b915a5de0ba 100755 (executable)
@@ -71,8 +71,9 @@ WARN_LOGFILE           = log.txt
 # configuration options related to the input files
 #---------------------------------------------------------------------------
 INPUT                  = ../../../share/salome/src \
-                        ../../../share/salome/idl
-FILE_PATTERNS          = *.idl *.h *.hh *.hxx *.c *.cc *.cxx *.ixx *.jxx
+                        ../../../share/salome/idl \
+                        ../../../build/salome/bin
+FILE_PATTERNS          = *.idl *.h *.hh *.hxx *.c *.cc *.cxx *.ixx *.jxx python_extension_must_be_here
 RECURSIVE              = YES
 EXCLUDE                = 
 EXCLUDE_SYMLINKS       = NO