-# Copyright (C) 2007-2012 CEA/DEN, EDF R&D, OPEN CASCADE
+# Copyright (C) 2007-2013 CEA/DEN, EDF R&D, OPEN CASCADE
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
-# MED MEDMEM : MED files in memory
-#
include $(top_srcdir)/adm_local/unix/make_common_starter.am
DOX_INPUT_FILE = Doxyfile_med_user
+DOX_EXTRA_FILES = medcouplingexamples.dox
+
guidocdir = $(docdir)/gui/MED
guidoc_DATA = images/head.png
+# documentation
+html-local: $(DOXY_INPUT_FILE) $(DOX_EXTRA_FILES)
+ @doxygen $(DOX_INPUT_FILE)
+
+%.dox: %.doxy
+ @python $(srcdir)/BuildPyExamplesFromCPP.py $< $(top_builddir)/doc/doxygen
+
install-data-local : html-local
@if test -d doc_ref_user; then \
$(INSTALL) -d $(DESTDIR)$(docdir)/gui/MED; \
rm -rf $(DESTDIR)$(docdir)/gui/MED
clean-local:
- rm -rf doc_ref_user log_user
+ rm -rf doc_ref_user log_user $(DOX_EXTRA_FILES)
EXTRA_DIST += figures \
main.dox \
Geometric2D.dox \
biblio.dox \
barycoords.dox \
- dualmesh.dox \
- extractor.dox \
- field.dox \
- grid.dox \
interpkernel.dox \
interptheory.dox \
interptools.dox \
intersectors.dox \
medcoupling.dox \
- medfilebrowser.dox \
medloader.dox \
- medmem.dox \
- medsplitter.dox \
- mesh.dox \
- meshing.dox \
- polygon.dox \
+ medpartitioner.dox \
remapper.dox \
- support.dox \
tools.dox \
static/footer.html \
static/doxygen.css \
images \
- BuildPyExamplesFromCPP.py \
- medcouplingexamples.doxy
+ BuildPyExamplesFromCPP.py
+
+EXTRA_DIST += $(DOX_EXTRA_FILES:%.dox=%.doxy)