From fa8ae26f5b15b5015cac8358f3fac393dcaa7ee1 Mon Sep 17 00:00:00 2001
From: Christian Engwer <christi@dune-project.org>
Date: Sun, 4 Oct 2009 01:55:15 +0000
Subject: [PATCH] * Doxyfile is generate and thus found in the builddir * run
 doxygen.css only if it exists

[[Imported from SVN: r5618]]
---
 am/doxygen | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

diff --git a/am/doxygen b/am/doxygen
index 664ab432c..f8a31101f 100644
--- a/am/doxygen
+++ b/am/doxygen
@@ -66,13 +66,12 @@ doxygen-tag: FORCE Doxyfile $(DOXYGENHEADER) $(DOXYGENFOOTER)
 	set -e; \
 	if test ! -e doxygen-tag || test x"`find $(top_srcdir) \( $(DOXYGEN_DEPENDON) \) -a -cnewer doxygen-tag -print`" != x ; then \
 	    echo Running doxygen. This may take a while... ; \
-	    $(DOXYGEN) $(srcdir)/Doxyfile > doxygen.log 2>&1 <&- ; \
+	    $(DOXYGEN) Doxyfile > doxygen.log 2>&1 <&- ; \
 	    touch doxygen-tag ; \
-		if test "$$DOXYQUIET" != "1" && test -f doxyerr.log; then cat doxyerr.log; fi; \
-	    test -x "$(DUNEWEBDOXY)/update-doxygen.css" && $(DUNEWEBDOXY)/update-doxygen.css $(abs_builddir)/html; \
-	    # Make sure to always return a true exit code (even when the	\
-            # previous test failed)						\
-	    true;								\
+	    if test "$$DOXYQUIET" != "1" && test -f doxyerr.log; \
+	      then cat doxyerr.log; fi; \
+	    if test -x "$(DUNEWEBDOXY)/update-doxygen.css"; \
+	      then $(DUNEWEBDOXY)/update-doxygen.css $(abs_builddir)/html; fi; \
 	fi
 
 doxygen-dist-install: doxygen-tag
-- 
GitLab