1 # Copyright (C) 2007-2008 CEA/DEN, EDF R&D, OPEN CASCADE
3 # Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
4 # CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
6 # This library is free software; you can redistribute it and/or
7 # modify it under the terms of the GNU Lesser General Public
8 # License as published by the Free Software Foundation; either
9 # version 2.1 of the License.
11 # This library is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 # Lesser General Public License for more details.
16 # You should have received a copy of the GNU Lesser General Public
17 # License along with this library; if not, write to the Free Software
18 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20 # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
23 # Author : Vasily Rusyaev (Open Cascade NN)
26 include $(top_srcdir)/adm_local/unix/make_common_starter.am
31 cp -fr $(srcdir)/SMESH ./INPUT; \
32 cp -f ./SMESH/doxyfile ./INPUT; \
34 sed 's|../../../share/salome|$(top_srcdir)|' ./doxyfile > ./doxyfile1; \
35 sed 's|../../build/salome|$(top_builddir)|' ./doxyfile1 > ./doxyfile2; \
36 mv -f doxyfile2 doxyfile1; \
37 echo "DOXYGEN SUPPORT PYTHON - @DOXYGEN_WITH_PYTHON@"; \
38 if( test "x@DOXYGEN_WITH_PYTHON@" = "xyes"); then \
39 sed 's|python_extension_must_be_here|*.py|' ./doxyfile1 > ./doxyfile2; \
40 mv -f doxyfile2 doxyfile1; \
41 $(DOXYGEN) -u ./doxyfile1; \
43 sed 's|python_extension_must_be_here||' ./doxyfile1 > ./doxyfile2; \
44 mv -f doxyfile2 doxyfile1; \
46 if( test "x@DOXYGEN_WITH_STL@" = "xyes"); then \
47 sed -e 's|BUILTIN_STL_SUPPORT = NO|BUILTIN_STL_SUPPORT = YES|' ./doxyfile1 > ./doxyfile2; \
48 mv -f doxyfile2 doxyfile1; \
50 mv -f doxyfile1 doxyfile; \
51 echo "Running doxygen in directory:"`pwd`; \
52 $(DOXYGEN) ./doxyfile; \
54 cp -fr $(srcdir)/SMESH/sources/ SMESH ; \
57 doctuidir=$(docdir)/tui/SMESH
59 nodist_doctui_DATA= SMESH/doxyfile
60 EXTRA_DIST+= SMESH/doxyfile.in