Salome HOME
Using AutoTools for build procedure
[modules/smesh.git] / doc / salome / tui / Makefile.am
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 include $(top_srcdir)/adm_local/unix/make_common_starter.am
24
25 EXTRA_DIST += SMESH
26
27 dev_docs:
28         cp -fr $(srcdir)/SMESH ./INPUT; \
29         cp -f ./SMESH/doxyfile ./INPUT; \
30         cd INPUT; \
31         sed 's|../../../share/salome|$(root_srcdir)|' ./doxyfile > ./doxyfile1; \
32         sed 's|../../build/salome|$(top_builddir)|' ./doxyfile1 > ./doxyfile2; \
33         mv -f doxyfile2 doxyfile1; \
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|' ./doxyfile1 > ./doxyfile2; \
37           mv -f doxyfile2 doxyfile1; \
38           $(doxygen) -u ./doxyfile1; \
39         else \
40           sed 's|python_extension_must_be_here||' ./doxyfile1 > ./doxyfile2; \
41           mv -f doxyfile2 doxyfile1; \
42         fi; \
43         if( test "x@DOXYGEN_WITH_STL@" = "xyes"); then \
44           sed -e 's|BUILTIN_STL_SUPPORT    = NO|BUILTIN_STL_SUPPORT    = YES|' ./doxyfile1 > ./doxyfile2; \
45           mv -f doxyfile2 doxyfile1; \
46         fi; \
47         mv -f doxyfile1 doxyfile; \
48         echo "Running doxygen in directory:"`pwd`; \
49         $(doxygen) ./doxyfile; \
50         cd ../; \
51         cp -fr $(srcdir)/SMESH/sources/ SMESH ; \
52         rm -fr INPUT
53
54 doctuidir=$(docdir)/tui/SMESH
55
56 nodist_doctui_DATA= SMESH/doxyfile
57 EXTRA_DIST+= SMESH/doxyfile.in