Salome HOME
Update copyright information
[modules/superv.git] / doc / salome / tui / Makefile.in
1 #  Copyright (C) 2007-2008  CEA/DEN, EDF R&D, OPEN CASCADE
2 #
3 #  Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
4 #  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
5 #
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.
10 #
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.
15 #
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
19 #
20 #  See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
21 #
22 #  File   : Makefile.in
23 #  Author : Vasily Rusyaev (Open Cascade NN)
24 #  Module : doc
25 #
26 top_srcdir=@top_srcdir@
27 top_builddir=../../..
28 root_srcdir=@ROOT_SRCDIR@
29 srcdir=@srcdir@
30 VPATH=.:@srcdir@
31 doxygen=@DOXYGEN@
32
33 @COMMENCE@
34
35 dev_docs:
36         cp -fr $(srcdir)/SUPERV ./INPUT; \
37         cp -fr ./SUPERV/doxyfile ./INPUT; \
38         cp -fr ./SUPERV/sources/static/tree.js ./INPUT/sources/static; \
39         cd INPUT; \
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; \
48         else \
49           sed 's|python_extension_must_be_here||' ./doxyfile1 > ./doxyfile2; \
50           mv -f doxyfile2 doxyfile1; \
51         fi; \
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; \
55         fi; \
56         mv -f doxyfile1 doxyfile; \
57         $(doxygen) ./doxyfile; \
58         cd ..; \
59         cp -fr $(srcdir)/SUPERV/sources/static/*.* ./SUPERV/
60         cp -fr $(srcdir)/SUPERV/sources/ SUPERV/
61         cp -fr $(srcdir)/SUPERV/HTML/ SUPERV/
62         rm -fr INPUT
63
64 clean:
65         rm -fr SUPERV
66
67 distclean: clean
68         rm -fr INPUT
69
70 install:
71         $(INSTALL) -d $(docdir); \
72         mkdir -p $(docdir)/tui
73         cp -fr SUPERV $(docdir)/tui
74
75 uninstall:
76         rm -fr $(docdir)/tui/SUPERV