aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Nieder <jrnieder@gmail.com>2010-11-12 15:22:13 -0600
committerLasse Collin <lasse.collin@tukaani.org>2010-11-13 14:36:28 +0200
commit2964d8d691ed92abdcf214888d79ad6d79774735 (patch)
treeb77750f549351a82b1e0af89766678e4e355a918
parentBuild: Copy the example programs to $docdir/examples. (diff)
downloadxz-2964d8d691ed92abdcf214888d79ad6d79774735.tar.xz
Simplify paths in generated API docs
Currently the file list generated by Doxygen has src/ at the beginning of each path. Paths like common/sysdefs.h and liblzma/api/lzma.h are easier to read without such a prefix. Builds from a separate build directory with mkdir build cd build ../configure doxygen Doxyfile include an even longer prefix /home/someone/src/xz/src; this patch has the nice side-effect of eliminating that prefix, too. Fixes: http://bugs.debian.org/572273
-rw-r--r--Doxyfile.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doxyfile.in b/Doxyfile.in
index fa3c1e1d..386706ab 100644
--- a/Doxyfile.in
+++ b/Doxyfile.in
@@ -118,7 +118,7 @@ FULL_PATH_NAMES = YES
# If left blank the directory from which doxygen is run is used as the
# path to strip.
-STRIP_FROM_PATH =
+STRIP_FROM_PATH = @top_srcdir@/src
# The STRIP_FROM_INC_PATH tag can be used to strip a user-defined part of
# the path mentioned in the documentation of a class, which tells