Salome HOME
2bef1a876a9eec7fd79619c4697af68e1831c597
[tools/medcoupling.git] / doc / doxygen / Makefile.am
1 # Copyright (C) 2007-2013  CEA/DEN, EDF R&D, OPEN CASCADE
2 #
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
20 #  MED MEDMEM : MED files in memory
21 #
22 include $(top_srcdir)/adm_local/unix/make_common_starter.am
23
24 DOX_INPUT_FILE = Doxyfile_med_user
25
26 DOX_EXTRA_FILES = medcouplingexamples.dox
27
28 guidocdir = $(docdir)/gui/MED
29 guidoc_DATA = images/head.png
30
31 # documentation
32 html-local: $(DOXY_INPUT_FILE) $(DOX_EXTRA_FILES)
33         @doxygen $(DOX_INPUT_FILE)
34
35 %.dox: %.doxy
36         @python $(srcdir)/BuildPyExamplesFromCPP.py $< $(top_builddir)/doc/doxygen
37
38 install-data-local : html-local
39         @if test -d doc_ref_user; then                                  \
40         $(INSTALL) -d $(DESTDIR)$(docdir)/gui/MED;                      \
41         fi
42         @if test -d doc_ref_user/html ; then                            \
43           for filen in `find doc_ref_user/html -maxdepth 1 -type f` ; do\
44             echo "Installing $${filen}" ;                               \
45             cp -rp $${filen} $(DESTDIR)$(docdir)/gui/MED ;              \
46           done ;                                                        \
47         fi ;
48
49 uninstall-local:
50         rm -rf $(DESTDIR)$(docdir)/gui/MED
51
52 clean-local:
53         rm -rf doc_ref_user log_user $(DOX_EXTRA_FILES)
54
55 EXTRA_DIST += figures \
56               main.dox \
57               Geometric2D.dox \
58               biblio.dox \
59               barycoords.dox \
60               dualmesh.dox \
61               extractor.dox \
62               field.dox \
63               grid.dox \
64               interpkernel.dox \
65               interptheory.dox \
66               interptools.dox \
67               intersectors.dox \
68               medcoupling.dox \
69               medfilebrowser.dox \
70               medloader.dox \
71               medmem.dox \
72               medsplitter.dox \
73               mesh.dox \
74               meshing.dox \
75               polygon.dox \
76               remapper.dox \
77               support.dox \
78               tools.dox \
79               static/footer.html \
80               static/doxygen.css \
81               images \
82               BuildPyExamplesFromCPP.py
83
84 EXTRA_DIST += $(DOX_EXTRA_FILES:%.dox=%.doxy)