summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2017-05-20 17:13:09 +0100
committerEmmanuele Bassi <ebassi@gnome.org>2017-05-22 09:21:49 +0100
commitd0a195b4d3ec3d30028c24d7c1c7ad83894e40fb (patch)
treec56fde835a8025dc17f334c0d10d98eaae59d7de
parentba38fff7923e1da2f98b8f7f52b777be6751caf2 (diff)
downloadatk-d0a195b4d3ec3d30028c24d7c1c7ad83894e40fb.tar.gz
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.
-rw-r--r--docs/Makefile.am7
1 files changed, 5 insertions, 2 deletions
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.