From b14fb00b0060ddabe9f37cb012dae8a23e5fbfb2 Mon Sep 17 00:00:00 2001
From: Christian Engwer <christi@dune-project.org>
Date: Thu, 24 Sep 2009 22:40:23 +0000
Subject: [PATCH] install doxyerr.log if available

[[Imported from SVN: r5600]]
---
 am/doxygen | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/am/doxygen b/am/doxygen
index 7ef6d2acf..c87140d5f 100644
--- a/am/doxygen
+++ b/am/doxygen
@@ -6,7 +6,7 @@ if BUILD_DOCS
   # EXTRAINSTALL in the html subdirectory
   DOXYGENHTMLFILES = *.html *.css *.png *.gif
   DOXYGENDISTFILES = doxygen-tag
-  DOXYGENINSTALL = $(DOXYGENHTMLFILES) ../doxygen.log
+  DOXYGENINSTALL = $(DOXYGENHTMLFILES) ../doxygen.log ../doxyerr.log
 endif
 
 DISTCLEANFILES = doxygen.log doxygen-tag
@@ -68,6 +68,7 @@ doxygen-tag: FORCE Doxyfile $(DOXYGENHEADER) $(DOXYGENFOOTER)
 	    echo Running doxygen. This may take a while... ; \
 	    $(DOXYGEN) $(srcdir)/Doxyfile > doxygen.log 2>&1 <&- ; \
 	    touch doxygen-tag ; \
+		if test "$$DOXYQUIET" != "1" && test -f doxyerr.log; then cat doxyerr.log; fi; \
 	fi
 if DUNEWEB
 	$(DUNEWEBDOXY)/update-doxygen.css $(abs_builddir)/html
-- 
GitLab