summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSpencer Oliver <ntfreak@users.sourceforge.net>2010-01-10 14:30:06 +0000
committerSpencer Oliver <ntfreak@users.sourceforge.net>2010-01-10 21:00:48 +0000
commitd746dee833ef4774adcee6a33c97f8039a5bd744 (patch)
tree686ca70bf6d661d48b62b0831fceb7d6b6928316
parentc8267930c7cff5685b33cd0174deb75a46dbb09b (diff)
downloadopenocd+libswd-d746dee833ef4774adcee6a33c97f8039a5bd744.tar.gz
openocd+libswd-d746dee833ef4774adcee6a33c97f8039a5bd744.tar.bz2
openocd+libswd-d746dee833ef4774adcee6a33c97f8039a5bd744.tar.xz
openocd+libswd-d746dee833ef4774adcee6a33c97f8039a5bd744.zip
build: doxygen build
- Fix for building doxygen out of tree Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
-rw-r--r--Doxyfile.in2
-rw-r--r--Makefile.am1
2 files changed, 2 insertions, 1 deletions
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),' $< \
) > $@