Hash :
a2974d5f
Author :
Date :
2016-03-15T11:20:35
doc: Fix Doxygen include for srcdir != builddir Instead of giving Doxygen a series of absolute paths to the source files and a relative path to the output directory, run it from the source directory with purely relative paths to the source files, and give it an absolute path to the build directory. This fixes the parsing of README.md with a separate build directory, since the relative includes for doc/quick-guide.md and doc/compat.md don't resolve otherwise. Doxygen's INCLUDE_PATH turns out not to fix this either, since that's just a set of paths to open and parse, rather than an analogue to cpp's -I. Signed-off-by: Daniel Stone <daniels@collabora.com>
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51
PROJECT_NAME = @PACKAGE_NAME@
PROJECT_NUMBER = @PACKAGE_VERSION@
OUTPUT_DIRECTORY = @abs_top_builddir@/doc
BRIEF_MEMBER_DESC = NO
JAVADOC_AUTOBRIEF = YES
OPTIMIZE_OUTPUT_FOR_C = YES
EXTENSION_MAPPING = no_extension=md
SORT_MEMBER_DOCS = NO
QUIET = YES
WARN_IF_UNDOCUMENTED = NO
INPUT = README.md \
doc/quick-guide.md \
doc/compat.md \
xkbcommon/xkbcommon.h \
xkbcommon/xkbcommon-names.h \
xkbcommon/xkbcommon-x11.h \
xkbcommon/xkbcommon-compose.h \
FILE_PATTERNS = *.c \
*.h
RECURSIVE = YES
USE_MDFILE_AS_MAINPAGE = README.md
VERBATIM_HEADERS = NO
ALPHABETICAL_INDEX = NO
IGNORE_PREFIX = xkb_ \
XKB_
HTML_EXTRA_STYLESHEET = doc/doxygen-extra.css
HTML_TIMESTAMP = NO
ENUM_VALUES_PER_LINE = 1
SEARCHENGINE = NO
GENERATE_LATEX = NO