Salome HOME
Join modifications from BR_Dev_For_4_0 tag V4_1_1.
[modules/superv.git] / doc / salome / tui / Makefile.in
1 #  Copyright (C) 2005  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
2 #  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
3 #
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.
8 #
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.
13 #
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
17 #
18 #  See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
19 #
20 #  File   : Makefile.in
21 #  Author : Vasily Rusyaev (Open Cascade NN)
22 #  Module : doc
23
24 top_srcdir=@top_srcdir@
25 top_builddir=../../..
26 root_srcdir=@ROOT_SRCDIR@
27 srcdir=@srcdir@
28 VPATH=.:@srcdir@
29 doxygen=@DOXYGEN@
30
31 @COMMENCE@
32
33 dev_docs:
34         cp -fr $(srcdir)/SUPERV ./INPUT; \
35         cp -fr ./SUPERV/doxyfile ./INPUT; \
36         cp -fr ./SUPERV/sources/static/tree.js ./INPUT/sources/static; \
37         cd INPUT; \
38         sed 's|../../../share/salome|$(root_srcdir)|' ./doxyfile > ./doxyfile1; \
39         sed 's|../../build/salome|$(top_builddir)|' ./doxyfile1 > ./doxyfile2; \
40         mv -f doxyfile2 doxyfile1; \
41         echo "DOXYGEN SUPPORT PYTHON - @DOXYGEN_WITH_PYTHON@"; \
42         if( test "x@DOXYGEN_WITH_PYTHON@" = "xyes"); then \
43           sed 's|python_extension_must_be_here|*.py|' ./doxyfile1 > ./doxyfile2; \
44           mv -f doxyfile2 doxyfile1; \
45           $(doxygen) -u ./doxyfile1; \
46         else \
47           sed 's|python_extension_must_be_here||' ./doxyfile1 > ./doxyfile2; \
48           mv -f doxyfile2 doxyfile1; \
49         fi; \
50         if( test "x@DOXYGEN_WITH_STL@" = "xyes"); then \
51           sed -e 's|BUILTIN_STL_SUPPORT    = NO|BUILTIN_STL_SUPPORT    = YES|' ./doxyfile1 > ./doxyfile2; \
52           mv -f doxyfile2 doxyfile1; \
53         fi; \
54         mv -f doxyfile1 doxyfile; \
55         $(doxygen) ./doxyfile; \
56         cd ..; \
57         cp -fr $(srcdir)/SUPERV/sources/static/*.* ./SUPERV/
58         cp -fr $(srcdir)/SUPERV/sources/ SUPERV/
59         cp -fr $(srcdir)/SUPERV/HTML/ SUPERV/
60         rm -fr INPUT
61
62 clean:
63         rm -fr SUPERV
64
65 distclean: clean
66         rm -fr INPUT
67
68 install:
69         $(INSTALL) -d $(docdir); \
70         mkdir -p $(docdir)/tui
71         cp -fr SUPERV $(docdir)/tui
72
73 uninstall:
74         rm -fr $(docdir)/tui/SUPERV