1 # Copyright (C) 2005 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
2 # CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
4 # This library is free software; you can redistribute it and/or
5 # modify it under the terms of the GNU Lesser General Public
6 # License as published by the Free Software Foundation; either
7 # version 2.1 of the License.
9 # This library is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 # Lesser General Public License for more details.
14 # You should have received a copy of the GNU Lesser General Public
15 # License along with this library; if not, write to the Free Software
16 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18 # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
21 # Author : Vasily Rusyaev (Open Cascade NN)
25 top_srcdir=@top_srcdir@
27 root_srcdir=@ROOT_SRCDIR@
35 cp -fr $(srcdir)/VISU ./INPUT; \
36 cp -fr ./VISU/doxyfile ./INPUT; \
37 cp -fr ./VISU/sources/static/tree.js ./INPUT/sources/static; \
39 sed 's|../../../share/salome|$(root_srcdir)|' ./doxyfile > ./doxyfile1; \
40 sed 's|../../build/salome|$(top_builddir)|' ./doxyfile1 > ./doxyfile2; \
41 mv -f doxyfile2 doxyfile1; \
42 echo "DOXYGEN SUPPORT PYTHON - @DOXYGEN_WITH_PYTHON@"; \
43 if( test "x@DOXYGEN_WITH_PYTHON@" = "xyes"); then \
44 sed 's|python_extension_must_be_here|*.py|' ./doxyfile1 > ./doxyfile2; \
45 mv -f doxyfile2 doxyfile1; \
46 $(doxygen) -u ./doxyfile1; \
48 sed 's|python_extension_must_be_here||' ./doxyfile1 > ./doxyfile2; \
49 mv -f doxyfile2 doxyfile1; \
51 if( test "x@DOXYGEN_WITH_STL@" = "xyes"); then \
52 sed -e 's|BUILTIN_STL_SUPPORT = NO|BUILTIN_STL_SUPPORT = YES|' ./doxyfile1 > ./doxyfile2; \
53 mv -f doxyfile2 doxyfile1; \
55 mv -f doxyfile1 doxyfile; \
56 $(doxygen) ./doxyfile; \
58 cp -fr $(srcdir)/VISU/sources/static/*.* ./VISU/
59 cp -fr $(srcdir)/VISU/sources/ VISU/
60 cp -fr $(srcdir)/VISU/HTML/ VISU/
70 $(INSTALL) -d $(docdir); \
71 mkdir -p $(docdir)/tui
72 cp -fr VISU $(docdir)/tui
75 rm -fr $(docdir)/tui/VISU