From d746dee833ef4774adcee6a33c97f8039a5bd744 Mon Sep 17 00:00:00 2001 From: Spencer Oliver Date: Sun, 10 Jan 2010 14:30:06 +0000 Subject: [PATCH] build: doxygen build - Fix for building doxygen out of tree Signed-off-by: Spencer Oliver --- Doxyfile.in | 2 +- Makefile.am | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Doxyfile.in b/Doxyfile.in index 519bb2f8..f6e3ced0 100644 --- a/Doxyfile.in +++ b/Doxyfile.in @@ -569,7 +569,7 @@ INPUT = @srcdir@/doc/manual \ @srcdir@/BUGS \ @srcdir@/PATCHES.txt \ @srcdir@/src \ - @srcdir@/config.h + @builddir@/config.h # This tag can be used to specify the character encoding of the source files # that doxygen parses. Internally doxygen uses the UTF-8 encoding, which is diff --git a/Makefile.am b/Makefile.am index fab47046..7d42fd3f 100644 --- a/Makefile.am +++ b/Makefile.am @@ -26,6 +26,7 @@ Doxyfile: $(srcdir)/Doxyfile.in echo "### @@@ -= DO NOT EDIT THIS FILE =- @@@ ###" && \ echo "### @@@ Make changes to Doxyfile.in @@@ ###" && \ sed -e 's,@srcdir\@,$(srcdir),' \ + -e 's,@builddir\@,$(builddir),' \ -e 's,@doxygen_as_html\@,$(doxygen_as_html),' \ -e 's,@doxygen_as_pdf\@,$(doxygen_as_pdf),' $< \ ) > $@ -- 2.39.5