]> SALOME platform Git repositories - modules/adao.git/blob - doc/fr/Makefile.am
Salome HOME
Report validation of ADAO Case using Eficas and documentation improvement
[modules/adao.git] / doc / fr / Makefile.am
1 # Copyright (C) 2008-2016 EDF R&D
2 #
3 # This file is part of SALOME ADAO module
4 #
5 # This library is free software; you can redistribute it and/or
6 # modify it under the terms of the GNU Lesser General Public
7 # License as published by the Free Software Foundation; either
8 # version 2.1 of the License.
9 #
10 # This library is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13 # Lesser General Public License for more details.
14 #
15 # You should have received a copy of the GNU Lesser General Public
16 # License along with this library; if not, write to the Free Software
17 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
18 #
19 # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
20 #
21 # Author: Jean-Philippe Argaud, jean-philippe.argaud@edf.fr, EDF R&D
22
23 include $(top_srcdir)/adm_local/make_common_starter.am
24
25 # You can set these variables from the command line.
26 DOCLANG       = fr
27 SPHINXOPTS    =
28 SPHINXBUILD   = sphinx-build
29 PAPER         =
30 BUILDDIR      = $(top_builddir)/doc/build/$(DOCLANG)
31 SRCDIR        = $(top_srcdir)/doc/$(DOCLANG)
32
33 EXTRA_DIST = conf.py advanced.rst  examples.rst  index.rst  intro.rst  theory.rst  using.rst \
34              resources/ADAO.png \
35              resources/ADAO_small.png \
36              resources/ADAO_small_rouge.png \
37              resources/ADAO_small_vert.png \
38              images/adao_activate.png \
39              images/adao_jdcexample01.png \
40              images/adao_scriptentry01.png \
41              images/adao_viewer.png \
42              images/eficas_new.png \
43              images/eficas_save.png \
44              images/eficas_yacs.png \
45              images/yacs_generatedscheme.png \
46              images/adao_exporttoyacs.png \
47              images/adao_jdcexample02.png \
48              images/adao_scriptentry02.png \
49              images/eficas_close.png \
50              images/eficas_open.png \
51              images/eficas_saveas.png \
52              images/eficas_valid.png \
53              images/yacs_containerlog.png
54
55 install-data-local:
56         make html
57         ${mkinstalldirs} $(DESTDIR)$(docdir)/$(DOCLANG)
58         ${mkinstalldirs} $(DESTDIR)$(salomeresdir)
59         cp -R $(BUILDDIR)/html/* $(DESTDIR)$(docdir)/$(DOCLANG)
60         cp $(SRCDIR)/resources/*.png $(DESTDIR)$(salomeresdir)
61         cp $(SRCDIR)/images/eficas_*.png $(DESTDIR)$(salomeresdir)
62
63 uninstall-local:
64         chmod -R +w $(DESTDIR)$(docdir)/$(DOCLANG)
65         rm -rf $(DESTDIR)$(docdir)
66         rm -f $(DESTDIR)$(salomeresdir)/*.png
67
68 clean-local:
69         -rm -rf $(BUILDDIR)
70
71
72 # Internal variables.
73 PAPEROPT_a4     = -D latex_paper_size=a4
74 PAPEROPT_letter = -D latex_paper_size=letter
75 ALLSPHINXOPTS   = -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) $(SRCDIR)
76
77 .PHONY: help clean html dirhtml pickle json htmlhelp qthelp latex changes linkcheck doctest
78
79 help:
80         @echo "Please use \`make <target>' where <target> is one of"
81         @echo "  html      to make standalone HTML files"
82         @echo "  dirhtml   to make HTML files named index.html in directories"
83         @echo "  pickle    to make pickle files"
84         @echo "  json      to make JSON files"
85         @echo "  htmlhelp  to make HTML files and a HTML help project"
86         @echo "  qthelp    to make HTML files and a qthelp project"
87         @echo "  latex     to make LaTeX files, you can set PAPER=a4 or PAPER=letter"
88         @echo "  changes   to make an overview of all changed/added/deprecated items"
89         @echo "  linkcheck to check all external links for integrity"
90         @echo "  doctest   to run all doctests embedded in the documentation (if enabled)"
91
92 clean:
93         -rm -rf $(BUILDDIR)/*
94
95 html:
96         $(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html
97         @echo
98         @echo "Build finished. The HTML pages are in $(BUILDDIR)/html."
99
100 dirhtml:
101         $(SPHINXBUILD) -b dirhtml $(ALLSPHINXOPTS) $(BUILDDIR)/dirhtml
102         @echo
103         @echo "Build finished. The HTML pages are in $(BUILDDIR)/dirhtml."
104
105 pickle:
106         $(SPHINXBUILD) -b pickle $(ALLSPHINXOPTS) $(BUILDDIR)/pickle
107         @echo
108         @echo "Build finished; now you can process the pickle files."
109
110 json:
111         $(SPHINXBUILD) -b json $(ALLSPHINXOPTS) $(BUILDDIR)/json
112         @echo
113         @echo "Build finished; now you can process the JSON files."
114
115 htmlhelp:
116         $(SPHINXBUILD) -b htmlhelp $(ALLSPHINXOPTS) $(BUILDDIR)/htmlhelp
117         @echo
118         @echo "Build finished; now you can run HTML Help Workshop with the" \
119               ".hhp project file in $(BUILDDIR)/htmlhelp."
120
121 qthelp:
122         $(SPHINXBUILD) -b qthelp $(ALLSPHINXOPTS) $(BUILDDIR)/qthelp
123         @echo
124         @echo "Build finished; now you can run "qcollectiongenerator" with the" \
125               ".qhcp project file in $(BUILDDIR)/qthelp, like this:"
126         @echo "# qcollectiongenerator $(BUILDDIR)/qthelp/ADAO.qhcp"
127         @echo "To view the help file:"
128         @echo "# assistant -collectionFile $(BUILDDIR)/qthelp/ADAO.qhc"
129
130 latex:
131         $(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
132         @echo
133         @echo "Build finished; the LaTeX files are in $(BUILDDIR)/latex."
134         @echo "Run \`make all-pdf' or \`make all-ps' in that directory to" \
135               "run these through (pdf)latex."
136
137 changes:
138         $(SPHINXBUILD) -b changes $(ALLSPHINXOPTS) $(BUILDDIR)/changes
139         @echo
140         @echo "The overview file is in $(BUILDDIR)/changes."
141
142 linkcheck:
143         $(SPHINXBUILD) -b linkcheck $(ALLSPHINXOPTS) $(BUILDDIR)/linkcheck
144         @echo
145         @echo "Link check complete; look for any errors in the above output " \
146               "or in $(BUILDDIR)/linkcheck/output.txt."
147
148 doctest:
149         $(SPHINXBUILD) -b doctest $(ALLSPHINXOPTS) $(BUILDDIR)/doctest
150         @echo "Testing of doctests in the sources finished, look at the " \
151               "results in $(BUILDDIR)/doctest/output.txt."