From: Emmanuele Bassi Date: Sat, 20 May 2017 16:13:09 +0000 (+0100) Subject: build: Add builddir to the docs directories X-Git-Tag: upstream/2.28.1~54 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1831a7b3e49bdaf206a613d7bdf3a48288b87735;hp=c2e2f1b65b4e7a1a921434a4f34f63cce09684ff;p=platform%2Fupstream%2Fatk.git build: Add builddir to the docs directories We generate header and source files during the build process, so we need to tell gtk-doc to scan files under the builddir as well as the srcdir. --- diff --git a/docs/Makefile.am b/docs/Makefile.am index 5fd3fc1..88c122b 100644 --- a/docs/Makefile.am +++ b/docs/Makefile.am @@ -10,15 +10,18 @@ DOC_MAIN_SGML_FILE=atk-docs.sgml # Extra options to supply to gtkdoc-scan SCAN_OPTIONS=--deprecated-guards=G_DISABLE_DEPRECATED + # The directory containing the source code (if it contains documentation). -DOC_SOURCE_DIR=../atk +DOC_SOURCE_DIR=$(top_srcdir)/atk $(top_builddir)/atk # Used for dependencies HFILE_GLOB = $(top_srcdir)/atk/*.h CFILE_GLOB = $(top_srcdir)/atk/*.c # Header files to ignore when scanning -IGNORE_HFILES = atkmarshal.h atkintl.h +IGNORE_HFILES = \ + atkmarshal.h \ + atkintl.h # CFLAGS and LDFLAGS for compiling scan program. Only needed # if $(DOC_MODULE).types is non-empty.