Salome HOME
NPAL16716. Compound: To create the groups of initial meshes.
[modules/smesh.git] / doc / salome / gui / 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 #  Modified by : Alexander BORODIN (OCN) - autotools usage
22 #  Module : doc
23
24 include $(top_srcdir)/adm_local/unix/make_common_starter.am
25
26 EXTRA_DIST+=SMESH
27
28 doxygen=@DOXYGEN@
29
30 # Below command replaces "smeshDC" by "smesh" except cases
31 # "ssmeshDC", "1smeshDC" and "esmeshDC" (these sequences
32 # can be found in file names and must not be replaces):
33 #
34 # sed 's/\([^s1e]\)smeshDC\|^smeshDC/\1smesh/g' $${filen} > ./tmp;
35 #
36 usr_docs:
37         cd ./SMESH; \
38         echo "Processing smeshDC.py file: "; \
39         $(doxygen) ./doxyfile_py; \
40         cd ./smeshpy_doc; \
41         filesl=`find .`; \
42         for filen in $${filesl}; do \
43           sed 's/\([^s1e]\)smeshDC\|^smeshDC/\1smesh/g' $${filen} > ./tmp; \
44           mv -f tmp $${filen}; \
45         done; \
46         cd ..; \
47         echo "Running doxygen in directory: "`pwd`; \
48         $(doxygen) ./doxyfile;
49
50 docs: usr_docs
51
52 clean-local:
53         rm -fr `ls | grep -v "Makefile"`
54         rm -fr SMESH
55
56 install-data-local: usr_docs
57         mkdir -p $(docdir)/gui
58         cp -rf SMESH $(docdir)/gui
59         -find $(PWD) -name CVS -prune -exec rm -rf {} \;
60
61 uninstall-local:
62         rm -rf $(docdir)/gui/SMESH
63
64 docguidir=$(docdir)/gui/SMESH
65
66 nodist_docgui_DATA= SMESH/doxyfile
67 nodist_docgui_DATA+= SMESH/doxyfile_py
68 EXTRA_DIST+= SMESH/doxyfile.in
69 EXTRA_DIST+= SMESH/doxyfile_py.in