From: vsr Date: Thu, 22 Nov 2012 13:21:40 +0000 (+0000) Subject: One more improvement to the previous integrations to make it valid for make distcheck X-Git-Tag: V6_6_0~8 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=386438b331b7b26eefaac52ef7f124756ce51d27;p=tools%2Fmedcoupling.git One more improvement to the previous integrations to make it valid for make distcheck --- diff --git a/doc/doxygen/Makefile.am b/doc/doxygen/Makefile.am index 75a1d2c76..10599e26c 100644 --- a/doc/doxygen/Makefile.am +++ b/doc/doxygen/Makefile.am @@ -23,16 +23,18 @@ include $(top_srcdir)/adm_local/unix/make_common_starter.am DOX_INPUT_FILE = Doxyfile_med_user -DOXY_INPUT_FILE = medcouplingexamples.doxy +DOX_EXTRA_FILES = medcouplingexamples.dox guidocdir = $(docdir)/gui/MED guidoc_DATA = images/head.png # documentation -html-local: $(DOXY_INPUT_FILE) $(DOX_INPUT_FILE) - @python $(srcdir)/BuildPyExamplesFromCPP.py $(srcdir)/$(DOXY_INPUT_FILE) $(top_builddir)/doc/doxygen; +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; \ @@ -48,7 +50,7 @@ uninstall-local: 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 \ @@ -77,5 +79,6 @@ EXTRA_DIST += figures \ static/footer.html \ static/doxygen.css \ images \ - BuildPyExamplesFromCPP.py \ - medcouplingexamples.doxy + BuildPyExamplesFromCPP.py + +EXTRA_DIST += $(DOX_EXTRA_FILES:%.dox=%.doxy)