- Fix for building doxygen out of tree
Signed-off-by: Spencer Oliver <[email protected]>
---
Doxyfile.in | 2 +-
Makefile.am | 1 +
2 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/Doxyfile.in b/Doxyfile.in
index 519bb2f..f6e3ced 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 fab4704..7d42fd3 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),' $< \
) > $@
--
1.6.5.1.1367.gcd48
_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development