Salome HOME
224ee0881f4513ddb21a9cce9ac92a8785a05276
[modules/smesh.git] / doc / salome / Makefile.in
1 #  Copyright (C) 2005  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
2 #  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
3 #
4 #  This library is free software; you can redistribute it and/or
5 #  modify it under the terms of the GNU Lesser General Public
6 #  License as published by the Free Software Foundation; either
7 #  version 2.1 of the License.
8 #
9 #  This library is distributed in the hope that it will be useful,
10 #  but WITHOUT ANY WARRANTY; without even the implied warranty of
11 #  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12 #  Lesser General Public License for more details.
13 #
14 #  You should have received a copy of the GNU Lesser General Public
15 #  License along with this library; if not, write to the Free Software
16 #  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
17 #
18 #  See http://www.salome-platform.org/
19 #
20
21 # -* Makefile *- 
22 #
23 # Author : Patrick GOLDBRONN (CEA)
24 # Date : 30/11/2001
25 # $Header$
26 #
27 # source path
28 top_srcdir=@top_srcdir@
29 top_builddir=../..
30 srcdir=@srcdir@
31 VPATH=.:@srcdir@
32
33 SUBDIRS= tui gui
34
35 @COMMENCE@
36
37 docs:
38         @@SETX@; for d in $(SUBDIRS); do        \
39            (cd $$d && $(MAKE) $@) || exit 1;    \
40         done; \
41         cp -f $(srcdir)/SMESH_index_v3.1.0.html SMESH_index_v3.1.0.html
42
43 clean:
44         @@SETX@; for d in $(SUBDIRS); do        \
45            (cd $$d && $(MAKE) $@) || exit 1;    \
46         done
47
48 distclean: clean
49         @@SETX@; for d in $(SUBDIRS); do        \
50            (cd $$d && $(MAKE) $@) || exit 1;    \
51         done
52
53 install:
54         $(MAKE) docs
55         (cd tui && $(MAKE) install);
56         (cd gui && $(MAKE) install);
57         cp -f SMESH_index_v3.1.0.html $(docdir)
58
59 uninstall:
60         @@SETX@; for d in $(SUBDIRS); do        \
61            (cd $$d && $(MAKE) $@) || exit 1;    \
62         done; \
63         rm -fr $(docdir)/SMESH_index_v3.1.0.html