]> git.sur5r.net Git - openocd/commitdiff
Fix make docs rule to work with out-of-tree builds.
authorzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Sat, 23 May 2009 20:29:53 +0000 (20:29 +0000)
committerzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Sat, 23 May 2009 20:29:53 +0000 (20:29 +0000)
git-svn-id: svn://svn.berlios.de/openocd/trunk@1891 b42882b7-edfa-0310-969c-e2dbd0fdcd60

Makefile.am

index 2fd5e323dec6cee47bbbf25fe7dfc2aabd6be054..cb5277b76802d96bff310129160c1fd014929d59 100644 (file)
@@ -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