Salome HOME
Fix a long-standing problem with passing wrong values to the --standalone or --embedd...
[modules/kernel.git] / doc / Makefile.am
1 # Copyright (C) 2005  OPEN CASCADE, CEA, EDF R&D, LEG
2 #           PRINCIPIA R&D, EADS CCR, Lip6, BV, CEDRAT
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 # -* Makefile *- 
20 #
21 # Author : Paul RASCLE (EDF)
22 # Date : 06/02/2006
23 # $Header$
24 #
25
26 include $(top_srcdir)/salome_adm/unix/make_common_starter.am
27
28 SUBDIRS = salome
29
30 doc_DATA =
31
32 if RST2HTML_IS_OK
33   doc_DATA += \
34         index.html \
35         UnitTests.html \
36         SALOME_Application.html \
37         INSTALL.html \
38         kernel_resources.html \
39         KERNEL_Services.html
40 endif
41
42 EXTRA_DIST=$(doc_DATA)
43
44
45 # Building html from restructured text files
46 STYLESHEET=$(srcdir)/rst.css
47 RST2HTML=@RST2HTML@
48 RSTOPTS=--output-encoding=latin1 --stylesheet=$(STYLESHEET)
49 #RSTOPTS=--output-encoding=latin1
50
51 %.html: $(srcdir)/%.txt
52         $(RST2HTML) $(RSTOPTS) $< $@
53
54 usr_docs:
55         (cd salome && $(MAKE) $(AM_MAKEFLAGS) usr_docs)
56
57 dev_docs:
58         (cd salome && $(MAKE) $(AM_MAKEFLAGS) dev_docs)