1 # Copyright (C) 2007-2013 CEA/DEN, EDF R&D, OPEN CASCADE
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
20 include $(top_srcdir)/adm_local/unix/make_common_starter.am
22 DOX_INPUT_FILE = Doxyfile_med_user
24 DOX_EXTRA_FILES = medcouplingexamples.dox
26 guidocdir = $(docdir)/gui/MED
27 guidoc_DATA = images/head.png
30 html-local: $(DOXY_INPUT_FILE) $(DOX_EXTRA_FILES)
31 @doxygen $(DOX_INPUT_FILE)
34 @python $(srcdir)/BuildPyExamplesFromCPP.py $< $(top_builddir)/doc/doxygen
36 install-data-local : html-local
37 @if test -d doc_ref_user; then \
38 $(INSTALL) -d $(DESTDIR)$(docdir)/gui/MED; \
40 @if test -d doc_ref_user/html ; then \
41 for filen in `find doc_ref_user/html -maxdepth 1 -type f` ; do\
42 echo "Installing $${filen}" ; \
43 cp -rp $${filen} $(DESTDIR)$(docdir)/gui/MED ; \
48 rm -rf $(DESTDIR)$(docdir)/gui/MED
51 rm -rf doc_ref_user log_user $(DOX_EXTRA_FILES)
53 EXTRA_DIST += figures \
68 static/salome_extra.css \
70 BuildPyExamplesFromCPP.py
72 EXTRA_DIST += $(DOX_EXTRA_FILES:%.dox=%.doxy)