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 top_srcdir=@top_srcdir@
28 root_srcdir=@ROOT_SRCDIR@
36 cp -fr $(srcdir)/SUPERV ./INPUT; \
37 cp -fr ./SUPERV/doxyfile ./INPUT; \
38 cp -fr ./SUPERV/sources/static/tree.js ./INPUT/sources/static; \
40 sed 's|../../../share/salome|$(root_srcdir)|' ./doxyfile > ./doxyfile1; \
41 sed 's|../../build/salome|$(top_builddir)|' ./doxyfile1 > ./doxyfile2; \
42 mv -f doxyfile2 doxyfile1; \
43 echo "DOXYGEN SUPPORT PYTHON - @DOXYGEN_WITH_PYTHON@"; \
44 if( test "x@DOXYGEN_WITH_PYTHON@" = "xyes"); then \
45 sed 's|python_extension_must_be_here|*.py|' ./doxyfile1 > ./doxyfile2; \
46 mv -f doxyfile2 doxyfile1; \
47 $(doxygen) -u ./doxyfile1; \
49 sed 's|python_extension_must_be_here||' ./doxyfile1 > ./doxyfile2; \
50 mv -f doxyfile2 doxyfile1; \
52 if( test "x@DOXYGEN_WITH_STL@" = "xyes"); then \
53 sed -e 's|BUILTIN_STL_SUPPORT = NO|BUILTIN_STL_SUPPORT = YES|' ./doxyfile1 > ./doxyfile2; \
54 mv -f doxyfile2 doxyfile1; \
56 mv -f doxyfile1 doxyfile; \
57 $(doxygen) ./doxyfile; \
59 cp -fr $(srcdir)/SUPERV/sources/static/*.* ./SUPERV/
60 cp -fr $(srcdir)/SUPERV/sources/ SUPERV/
61 cp -fr $(srcdir)/SUPERV/HTML/ SUPERV/
71 $(INSTALL) -d $(docdir); \
72 mkdir -p $(docdir)/tui
73 cp -fr SUPERV $(docdir)/tui
76 rm -fr $(docdir)/tui/SUPERV