Salome HOME
2139db94dcf1b7babd211fbc1c8d082bbaf99201
[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         sed 's|../../../share/salome|$(top_srcdir)|' ./doxyfile > ./doxyfile1; \
35         sed 's|../../build/salome|$(top_builddir)|' ./doxyfile1 > ./doxyfile2; \
36         mv -f doxyfile2 doxyfile1; \
37         echo "DOXYGEN SUPPORT PYTHON - @DOXYGEN_WITH_PYTHON@"; \
38         if( test "x@DOXYGEN_WITH_PYTHON@" = "xyes"); then \
39           sed 's|python_extension_must_be_here|*.py|' ./doxyfile1 > ./doxyfile2; \
40           mv -f doxyfile2 doxyfile1; \
41           $(DOXYGEN) -u ./doxyfile1; \
42         else \
43           sed 's|python_extension_must_be_here||' ./doxyfile1 > ./doxyfile2; \
44           mv -f doxyfile2 doxyfile1; \
45         fi; \
46         if( test "x@DOXYGEN_WITH_STL@" = "xyes"); then \
47           sed -e 's|BUILTIN_STL_SUPPORT    = NO|BUILTIN_STL_SUPPORT    = YES|' ./doxyfile1 > ./doxyfile2; \
48           mv -f doxyfile2 doxyfile1; \
49         fi; \
50         mv -f doxyfile1 doxyfile; \
51         echo "Running doxygen in directory:"`pwd`; \
52         $(DOXYGEN) ./doxyfile; \
53         cd ../; \
54         cp -fr $(srcdir)/SMESH/sources/ SMESH ; \
55         rm -fr INPUT
56
57 doctuidir=$(docdir)/tui/SMESH
58
59 nodist_doctui_DATA= SMESH/doxyfile
60 EXTRA_DIST+= SMESH/doxyfile.in