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
22 include $(top_srcdir)/adm_local/unix/make_common_starter.am
26 homarddoc_DATA=html/index.html
27 html/index.html:$(RSTFILES) dummy
35 homarddocdir=$(docdir)/gui/HOMARD/$(homarddoc_langue)
38 SPHINXBUILD = sphinx-build
41 # mkdir -p html doctrees
43 $(SPHINXBUILD) $(SPHINXOPTS) -c $(top_builddir)/doc/$(homarddoc_langue) -b html $(srcdir) html
45 @echo "Build fini. Les pages HTML sont dans html."
48 # mkdir -p latex doctrees
50 $(SPHINXBUILD) $(SPHINXOPTS) -c $(top_builddir)/doc/$(homarddoc_langue) -b latex $(srcdir) latex
52 @echo "Build fini. Les pages sont en latex."
53 @echo "Aller dans latex et appliquer deux fois : pdflatex HOMARD.tex pour produire HOMARD.pdf"
58 gui_create_boundary.rst \
60 gui_create_hypothese.rst \
61 gui_create_iteration.rst \
67 tui_create_boundary.rst \
69 tui_create_hypothese.rst \
70 tui_create_iteration.rst \
76 EXTRA_DIST += $(RSTFILES) images ../images ../files
79 make install-data-local
84 $(INSTALL) -d $(DESTDIR)$(homarddocdir)
85 if test -d "html"; then b=; else b="$(srcdir)/"; fi; \
86 if test -d $$b"html"; then cp -rf $$b"html"/* $(DESTDIR)$(homarddocdir); fi;
89 chmod -R +w $(DESTDIR)$(homarddocdir)
90 rm -rf $(DESTDIR)$(homarddocdir)/*
94 if test -d "html"; then rm -rf html ; fi
95 if test -d "latex"; then rm -rf latex ; fi
98 if test -d "html"; then b=; else b="$(srcdir)/"; fi; \
99 if test -d $$b"html"; then cp -rf $$b"html" $(distdir) ; fi