From: zwelch Date: Sat, 23 May 2009 20:29:53 +0000 (+0000) Subject: Fix make docs rule to work with out-of-tree builds. X-Git-Tag: v0.2.0~619 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=d305e2c35bfbdf27cc2bb186bf1b4f5f9fb141c6;p=openocd Fix make docs rule to work with out-of-tree builds. git-svn-id: svn://svn.berlios.de/openocd/trunk@1891 b42882b7-edfa-0310-969c-e2dbd0fdcd60 --- diff --git a/Makefile.am b/Makefile.am index 2fd5e323..cb5277b7 100644 --- a/Makefile.am +++ b/Makefile.am @@ -16,7 +16,7 @@ EXTRA_DIST = Doxyfile docs: pdf html doxygen doxygen:: - doxygen Doxyfile 2>&1 | perl tools/logger.pl > doxygen.log + (cd $(srcdir) && doxygen Doxyfile 2>&1 | perl tools/logger.pl ) > doxygen.log doxygen-clean: rm -f -r doxygen doxygen.log