Salome HOME
PR: add resources/Plugin in Install
[modules/kernel.git] / doc / Makefile.am
1 # -* Makefile *- 
2 #
3 # Author : Paul RASCLE (EDF)
4 # Date : 06/02/2006
5 # $Header$
6 #
7
8 include $(top_srcdir)/salome_adm/unix/make_common_starter.am
9
10 SUBDIRS = salome
11
12 doc_DATA =
13
14 if RST2HTML_IS_OK
15   doc_DATA += \
16         index.html \
17         UnitTests.html \
18         SALOME_Application.html \
19         INSTALL.html \
20         kernel_resources.html
21 endif
22
23 EXTRA_DIST=$(doc_DATA)
24
25
26 # Building html from restructured text files
27 STYLESHEET=rst.css
28 RST2HTML=@RST2HTML@
29 RSTOPTS=--output-encoding=latin1 --stylesheet=$(STYLESHEET)
30 #RSTOPTS=--output-encoding=latin1
31
32 %.html: $(srcdir)/%.txt
33         $(RST2HTML) $(RSTOPTS) $< $@
34
35 userdoc:
36         (cd salome && $(MAKE) $(AM_MAKEFLAGS) userdoc)