]> git.sur5r.net Git - openocd/commitdiff
build: doxygen build
authorSpencer Oliver <ntfreak@users.sourceforge.net>
Sun, 10 Jan 2010 14:30:06 +0000 (14:30 +0000)
committerSpencer Oliver <ntfreak@users.sourceforge.net>
Sun, 10 Jan 2010 21:00:48 +0000 (21:00 +0000)
 - Fix for building doxygen out of tree

Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
Doxyfile.in
Makefile.am

index 519bb2f82cb46f3e5417fe9f5a2cc41554919971..f6e3ced0d583c0d179a47f8f66e24c1226081aef 100644 (file)
@@ -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
index fab470466631b80ee1748d74a8b5a794f45e1939..7d42fd3f7e0d90a0ebeeafa85c196e8f9c749fb0 100644 (file)
@@ -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),' $< \
        ) > $@