From f1af2cdc8368adead01875ae8e2f5a6cdc1115bb Mon Sep 17 00:00:00 2001
From: Christian Engwer <christi@dune-project.org>
Date: Wed, 6 Oct 2004 14:35:24 +0000
Subject: [PATCH] new and improved dependency tracking for doxygen

[[Imported from SVN: r39]]
---
 doc/Makefile.am | 14 +++++---------
 1 file changed, 5 insertions(+), 9 deletions(-)

diff --git a/doc/Makefile.am b/doc/Makefile.am
index 325a4c864..6a8a0746f 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -2,13 +2,8 @@
 
 all: doxygen-tag
 
-doxygen_DEPS = $(shell: cat $(DEPDIR)/doxygen.Po)
-doxygen_FILES = Doxyfile doxy-header.html doxy-footer.html dune-doxy.css
-
-$(DEPDIR)/doxygen.Po: Doxyfile
-	./Doxydep $< $@
-
-doxygen-tag: $(doxygen_FILES) $(doxygen_DEPS)
+doxygen-tag: Doxyfile
+@AMDEP_TRUE@	./Doxydep $< $(DEPDIR)/doxygen.Po $@
 	doxygen >& doxygen.log
 	touch doxygen-tag
 
@@ -21,7 +16,8 @@ web-install: doxygen-tag
 	fi
 	install -g web -m 664 $(WEBFILES) $(WEBDIR)
 
-include $(DEPDIR)/doxygen.Po
+@AMDEP_TRUE@DEP_FILES = $(DEPDIR)/doxygen.Po
+@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/doxygen.Po@am__quote@
 
 clean-local:
-	rm -rf html latex $(DEPDIR) doxygen-tag	*~
+	rm -rf html latex doxygen-tag *~
-- 
GitLab