]> SALOME platform Git repositories - tools/medcoupling.git/commitdiff
Salome HOME
One more improvement to the previous integrations to make it valid for make distcheck V6_6_0rc1
authorvsr <vsr@opencascade.com>
Thu, 22 Nov 2012 13:21:40 +0000 (13:21 +0000)
committervsr <vsr@opencascade.com>
Thu, 22 Nov 2012 13:21:40 +0000 (13:21 +0000)
doc/doxygen/Makefile.am

index 75a1d2c762b018f54bcec330918059a6e64d8b8c..10599e26c6693e8c1249959080e0f824fdcd6c0c 100644 (file)
@@ -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)