[PATCH weston] doc: Correct absolute path in doxygen graphs.

Jon A. Cruz jonc at osg.samsung.com
Mon Oct 5 12:19:43 PDT 2015


Adds a config item to prevent doxygen from using absolute paths in
generated diagrams. This trims off the base directory during config to
leave just relative paths.

Signed-off-by: Jon A. Cruz <jonc at osg.samsung.com>
---
 doc/doxygen/tooldev.doxygen.in | 1 +
 doc/doxygen/tools.doxygen.in   | 1 +
 2 files changed, 2 insertions(+)

diff --git a/doc/doxygen/tooldev.doxygen.in b/doc/doxygen/tooldev.doxygen.in
index 8b033b3..b3d86f5 100644
--- a/doc/doxygen/tooldev.doxygen.in
+++ b/doc/doxygen/tooldev.doxygen.in
@@ -9,3 +9,4 @@ INPUT                  = \
 RECURSIVE              = YES
 GENERATE_LATEX         = NO
 DOTFILE_DIRS           = @top_srcdir@/doc/doxygen
+STRIP_FROM_PATH        = @top_srcdir@
diff --git a/doc/doxygen/tools.doxygen.in b/doc/doxygen/tools.doxygen.in
index 1b3b078..613edd4 100644
--- a/doc/doxygen/tools.doxygen.in
+++ b/doc/doxygen/tools.doxygen.in
@@ -8,3 +8,4 @@ INPUT                  = \
 		       @top_srcdir@/tools/zunitc/inc/zunitc/zunitc.h
 GENERATE_LATEX         = NO
 DOTFILE_DIRS           = @top_srcdir@/doc/doxygen
+STRIP_FROM_PATH        = @top_srcdir@
-- 
2.1.4



More information about the wayland-devel mailing list