summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTing-Wei Lan <lantw@src.gnome.org>2016-06-14 10:42:31 +0800
committerTing-Wei Lan <lantw@src.gnome.org>2016-06-14 10:42:31 +0800
commit5fc628fb9f528b2d38a3ae27c70a84a5fbd3a3a5 (patch)
tree8f3df53be7f5bb7f894ba1afaac210710f32f31a
parent5f99ece9a24ff0922438130e43af5aec1785289b (diff)
downloadcolord-gtk-5fc628fb9f528b2d38a3ae27c70a84a5fbd3a3a5.tar.gz
build: Fix gtk-doc build when srcdir != builddir
-rw-r--r--doc/api/Makefile.am3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/api/Makefile.am b/doc/api/Makefile.am
index 4bef5e7..617692a 100644
--- a/doc/api/Makefile.am
+++ b/doc/api/Makefile.am
@@ -10,7 +10,7 @@ DOC_MAIN_SGML_FILE=colord-gtk-docs.xml
SCAN_OPTIONS=--ignore-headers=config.h
# The directory containing the source code. Relative to $(srcdir)
-DOC_SOURCE_DIR=../../libcolord-gtk
+DOC_SOURCE_DIR=$(top_srcdir)/libcolord-gtk $(top_builddir)/libcolord-gtk
# Used for dependencies
HFILE_GLOB=
@@ -41,6 +41,7 @@ MKTMPL_OPTIONS=
# Non-autogenerated SGML files to be included in $(DOC_MAIN_SGML_FILE)
content_files = \
+ ../../COPYING \
version.xml
# Images to copy into HTML directory