Salome HOME
NPAL18084: add a new simple sample of GEOM/SMESH.
[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 usr_docs:
31         cd ./SMESH; \
32         echo "Processing smeshDC.py file: "; \
33         $(doxygen) ./doxyfile_py; \
34         sed 's|../../../share/salome|$(top_srcdir)|' ./doxyfile > ./doxyfile1; \
35         mv -f doxyfile1 doxyfile; \
36         echo "Running doxygen in directory: "`pwd`; \
37         $(doxygen) ./doxyfile;
38
39 docs: usr_docs
40
41 clean-local:
42         rm -fr `ls | grep -v "Makefile"`
43         rm -fr SMESH
44
45 install-data-local: usr_docs
46         mkdir -p $(docdir)/gui
47         cp -rf SMESH $(docdir)/gui
48         -find $(PWD) -name CVS -prune -exec rm -rf {} \;
49
50 uninstall-local:
51         rm -rf $(docdir)/gui/SMESH
52
53 docguidir=$(docdir)/gui/SMESH
54
55 nodist_docgui_DATA= SMESH/doxyfile
56 nodist_docgui_DATA+= SMESH/doxyfile_py
57 EXTRA_DIST+= SMESH/doxyfile.in
58 EXTRA_DIST+= SMESH/doxyfile_py.in