Salome HOME
642b5f1d00e3880c69e26aa5283e15c688156163
[modules/smesh.git] / doc / salome / tui / Makefile.am
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 include $(top_srcdir)/adm_local/unix/make_common_starter.am
27
28 EXTRA_DIST += SMESH
29
30 dev_docs:
31         cp -fr $(srcdir)/SMESH ./INPUT; \
32         cp -f ./SMESH/doxyfile ./INPUT; \
33         cd INPUT; \
34         echo "DOXYGEN SUPPORT PYTHON - @DOXYGEN_WITH_PYTHON@"; \
35         if( test "x@DOXYGEN_WITH_PYTHON@" = "xyes"); then \
36           sed 's|python_extension_must_be_here|*.py|' doxyfile > doxyfile1; \
37         else \
38           sed 's|python_extension_must_be_here||' doxyfile > doxyfile1; \
39         fi; \
40         mv -f doxyfile1 doxyfile; \
41         if( test "x@DOXYGEN_WITH_STL@" = "xyes"); then \
42           sed -e 's|BUILTIN_STL_SUPPORT    = NO|BUILTIN_STL_SUPPORT    = YES|' doxyfile > doxyfile1; \
43           mv -f doxyfile1 doxyfile; \
44         fi; \
45         $(DOXYGEN) -u doxyfile; \
46         echo "Running doxygen in directory:"`pwd`; \
47         $(DOXYGEN) doxyfile; \
48         cd ../; \
49         cp -fr $(srcdir)/SMESH/sources/ SMESH ; \
50         rm -fr INPUT
51
52 doctuidir=$(docdir)/tui/SMESH
53
54 nodist_doctui_DATA= SMESH/doxyfile
55 EXTRA_DIST+= SMESH/doxyfile.in
56
57 install-data-local:
58         if test -d SMESH; then \
59           $(INSTALL) -d $(docdir)/tui ; \
60           cp -rp SMESH $(docdir)/tui ; \
61           find $(docdir)/tui -name CVS -prune -exec rm -rf {} ";" ; \
62         fi;
63
64 uninstall-local:
65         rm -rf $(docdir)/tui/SMESH