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 # MED MEDMEM : MED files in memory
22 include $(top_srcdir)/adm_local/unix/make_common_starter.am
24 DOX_INPUT_FILE = Doxyfile_med_user
26 DOX_EXTRA_FILES = medcouplingexamples.dox
28 guidocdir = $(docdir)/gui/MED
29 guidoc_DATA = images/head.png
32 html-local: $(DOXY_INPUT_FILE) $(DOX_EXTRA_FILES)
33 @doxygen $(DOX_INPUT_FILE)
36 @python $(srcdir)/BuildPyExamplesFromCPP.py $< $(top_builddir)/doc/doxygen
38 install-data-local : html-local
39 @if test -d doc_ref_user; then \
40 $(INSTALL) -d $(DESTDIR)$(docdir)/gui/MED; \
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 ; \
50 rm -rf $(DESTDIR)$(docdir)/gui/MED
53 rm -rf doc_ref_user log_user $(DOX_EXTRA_FILES)
55 EXTRA_DIST += figures \
82 BuildPyExamplesFromCPP.py
84 EXTRA_DIST += $(DOX_EXTRA_FILES:%.dox=%.doxy)