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 echo "DOXYGEN SUPPORT PYTHON - @DOXYGEN_WITH_PYTHON@"; \
35 if( test "x@DOXYGEN_WITH_PYTHON@" = "xyes"); then \
36 sed 's|python_extension_must_be_here|*.py|' doxyfile > doxyfile1; \
38 sed 's|python_extension_must_be_here||' doxyfile > doxyfile1; \
40 mv -f doxyfile1 doxyfile; \
41 if( test "x@DOXYGEN_WITH_STL@" = "xyes"); then \
42 sed -e 's|BUILTIN_STL_SUPPORT = NO|BUILTIN_STL_SUPPORT = YES|' doxyfile > doxyfile1; \
43 mv -f doxyfile1 doxyfile; \
45 $(DOXYGEN) -u doxyfile; \
46 echo "Running doxygen in directory:"`pwd`; \
47 $(DOXYGEN) doxyfile; \
49 cp -fr $(srcdir)/SMESH/sources/ SMESH ; \
52 doctuidir=$(docdir)/tui/SMESH
54 nodist_doctui_DATA= SMESH/doxyfile
55 EXTRA_DIST+= SMESH/doxyfile.in
58 if test -d SMESH; then \
59 $(INSTALL) -d $(docdir)/tui ; \
60 cp -rp SMESH $(docdir)/tui ; \
61 find $(docdir)/tui -name CVS -prune -exec rm -rf {} ";" ; \
65 rm -rf $(docdir)/tui/SMESH