1 # Copyright (C) 2011-2013 CEA/DEN, EDF R&D
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.
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.
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
17 # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
21 # Author : Vasily Rusyaev (Open Cascade NN)
24 include $(top_srcdir)/adm_local/unix/make_common_starter.am
28 homarddoc_DATA=html/index.html html/index_en.html
29 html/index.html:$(RSTFILES)
32 html/index_en.html:$(RSTFILES_EN)
38 homarddocdir=$(docdir)/gui/HOMARD
42 SPHINXBUILD = sphinx-build
43 PAPEROPT_a4 = -D latex_paper_size=a4
44 ALLSPHINXOPTS = -d doctrees $(PAPEROPT_a4) $(SPHINXOPTS) $(SOURCEDIR)
47 mkdir -p html doctrees
48 $(SPHINXBUILD) -c $(top_builddir)/doc -b html $(ALLSPHINXOPTS) html
50 @echo "Build finished. The HTML pages are in html."
53 mkdir -p latex doctrees
54 $(SPHINXBUILD) -c $(top_builddir)/doc -b latex $(ALLSPHINXOPTS) latex
56 @echo "Build finished. The pages are in latex."
57 @echo "Go into latex and apply twice : pdflatex HOMARD.tex to produce HOMARD.pdf"
62 gui_create_boundary.rst \
64 gui_create_hypothese.rst \
65 gui_create_iteration.rst \
71 tui_create_boundary.rst \
73 tui_create_hypothese.rst \
74 tui_create_iteration.rst \
83 gui_create_boundary_en.rst \
84 gui_create_case_en.rst \
85 gui_create_hypothese_en.rst \
86 gui_create_iteration_en.rst \
87 gui_create_zone_en.rst \
90 gui_mesh_info_en.rst \
92 tui_create_boundary_en.rst \
93 tui_create_case_en.rst \
94 tui_create_hypothese_en.rst \
95 tui_create_iteration_en.rst \
96 tui_create_zone_en.rst \
101 EXTRA_DIST+= $(RSTFILES) images files
104 make install-data-local
109 $(INSTALL) -d $(DESTDIR)$(homarddocdir)
110 if test -d "html"; then b=; else b="$(srcdir)/"; fi; \
111 if test -d $$b"html"; then cp -rf $$b"html"/* $(DESTDIR)$(homarddocdir); fi;
114 chmod -R +w $(DESTDIR)$(homarddocdir)
115 rm -rf $(DESTDIR)$(homarddocdir)/*
119 if test -d "html"; then rm -rf html ; fi
120 if test -d "latex"; then rm -rf latex ; fi
123 if test -d "html"; then b=; else b="$(srcdir)/"; fi; \
124 if test -d $$b"html"; then cp -rf $$b"html" $(distdir) ; fi