--- a/doc/reference/libpurple/Makefile.am Tue Apr 22 13:18:02 2014 +0530 +++ b/doc/reference/libpurple/Makefile.am Fri Apr 25 16:55:07 2014 +0530 @@ -56,7 +56,10 @@ # Extra header to include when scanning, which are not under DOC_SOURCE_DIR # e.g. EXTRA_HFILES=$(top_srcdir}/contrib/extra.h -EXTRA_HFILES= +# TODO: those files are not properly scanned when building out-of-tree +EXTRA_HFILES = \ + $(top_builddir)/$(DOC_MODULE)/version.h \ + $(top_builddir)/$(DOC_MODULE)/purple.h # Header files or dirs to ignore when scanning. Use base file/dir names # e.g. IGNORE_HFILES=gtkdebug.h gtkintl.h private_code @@ -74,7 +77,7 @@ internal.h \ marshallers.h \ purple-client.h \ - purple-client-bindings.h + purple-client-bindings.h \ valgrind.h # Images to copy into HTML directory.