Salome HOME
Fix for problem with table of contents resizing.
[modules/gui.git] / doc / salome / tui / Makefile.in
1 #  Copyright (C) 2005  CEA/DEN, EDF R&D, OPEN CASCADE, PRINCIPIA R&D
2 #
3 #  This library is free software; you can redistribute it and/or
4 #  modify it under the terms of the GNU Lesser General Public
5 #  License as published by the Free Software Foundation; either
6 #  version 2.1 of the License.
7 #
8 #  This library is distributed in the hope that it will be useful,
9 #  but WITHOUT ANY WARRANTY; without even the implied warranty of
10 #  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
11 #  Lesser General Public License for more details.
12 #
13 #  You should have received a copy of the GNU Lesser General Public
14 #  License along with this library; if not, write to the Free Software
15 #  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
16 #
17 #  See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
18 #
19 #  File   : Makefile.in
20 #  Author : Vasily Rusyaev (Open Cascade NN)
21 #  Module : doc
22
23 top_srcdir=@top_srcdir@
24 top_builddir=../../..
25 root_srcdir=@ROOT_SRCDIR@
26 srcdir=@srcdir@
27 VPATH=.:@srcdir@
28 doxygen=@DOXYGEN@
29
30 @COMMENCE@
31
32 dev_docs:
33         cp -fr $(srcdir)/GUI ./INPUT; \
34         cp -f ./GUI/doxyfile ./INPUT; \
35         cd INPUT; \
36         sed 's|../../../share/salome|$(root_srcdir)|' ./doxyfile > ./doxyfile1; \
37         sed 's|../../build/salome|$(top_builddir)|' ./doxyfile1 > ./doxyfile2; \
38         mv -f doxyfile2 doxyfile1; \
39         echo "DOXYGEN SUPPORT PYTHON - @DOXYGEN_WITH_PYTHON@"; \
40         if( test "x@DOXYGEN_WITH_PYTHON@" = "xyes"); then \
41           sed 's|python_extension_must_be_here|*.py|' ./doxyfile1 > ./doxyfile2; \
42           mv -f doxyfile2 doxyfile1; \
43           $(doxygen) -u ./doxyfile1; \
44         else \
45           sed 's|python_extension_must_be_here||' ./doxyfile1 > ./doxyfile2; \
46           mv -f doxyfile2 doxyfile1; \
47         fi; \
48         if( test "x@DOXYGEN_WITH_STL@" = "xyes"); then \
49           sed -e 's|BUILTIN_STL_SUPPORT    = NO|BUILTIN_STL_SUPPORT    = YES|' ./doxyfile1 > ./doxyfile2; \
50           mv -f doxyfile2 doxyfile1; \
51         fi; \
52         mv -f doxyfile1 doxyfile; \
53         echo "Running doxygen in directory:"`pwd`; \
54         $(doxygen) ./doxyfile; \
55         cd ../; \
56         cp -fr $(srcdir)/GUI/sources/ GUI ; \
57         rm -fr INPUT
58
59 clean:
60         rm -fr GUI
61
62 distclean: clean
63         rm -fr INPUT
64
65 install:
66         $(INSTALL) -d $(docdir); \
67         mkdir -p $(docdir)/tui
68         cp -fr GUI $(docdir)/tui
69
70 uninstall:
71         rm -fr $(docdir)/tui/GUI