doc: Fix Doxygen include for srcdir != builddir
authorDaniel Stone <daniels@collabora.com>
Tue, 15 Mar 2016 11:20:35 +0000 (11:20 +0000)
committerDaniel Stone <daniels@collabora.com>
Tue, 15 Mar 2016 11:21:29 +0000 (11:21 +0000)
commita2974d5f8a9740f37cfab4d309c64ab0cd6818ad
tree66a2b1c72fc696ceb63a3db13c723f303cada7ba
parentd627549c61cd27da881f8287a4a29f75aad19578
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>
Makefile.am
doc/Doxyfile.in