[evolution-data-server] Correct gtk-doc build references to work in out-of-source builds too



commit 8131bee5f2a93bfbe9d800190d6a376bfeb603e0
Author: Milan Crha <mcrha redhat com>
Date:   Wed Nov 4 15:32:59 2015 +0100

    Correct gtk-doc build references to work in out-of-source builds too
    
    Even `make distcheck` was failing when building gtk-doc due to incorrect
    references to built sources used in the documentation.

 docs/reference/eds/Makefile.am     |    4 ++--
 docs/reference/private/Makefile.am |    6 +++---
 2 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/docs/reference/eds/Makefile.am b/docs/reference/eds/Makefile.am
index f192230..874b264 100644
--- a/docs/reference/eds/Makefile.am
+++ b/docs/reference/eds/Makefile.am
@@ -52,9 +52,9 @@ FIXXREF_OPTIONS=
 # e.g. HFILE_GLOB=$(top_srcdir)/gtk/*.h
 # e.g. CFILE_GLOB=$(top_srcdir)/gtk/*.c
 HFILE_GLOB = \
+       $(top_builddir)/private/*.h                     \
        $(top_srcdir)/libedataserver/*.h                \
        $(top_srcdir)/libebackend/*.h                   \
-       $(top_srcdir)/private/*.h                       \
        $(top_srcdir)/addressbook/libebook-contacts/*.h \
        $(top_srcdir)/addressbook/libebook/*.h          \
        $(top_srcdir)/addressbook/libedata-book/*.h     \
@@ -63,9 +63,9 @@ HFILE_GLOB = \
        $(top_srcdir)/tests/test-server-utils/*.h
 
 CFILE_GLOB = \
+       $(top_builddir)/private/*.c                     \
        $(top_srcdir)/libedataserver/*.c                \
        $(top_srcdir)/libebackend/*.c                   \
-       $(top_srcdir)/private/*.c                       \
        $(top_srcdir)/addressbook/libebook-contacts/*.c \
        $(top_srcdir)/addressbook/libebook/*.c          \
        $(top_srcdir)/addressbook/libedata-book/*.c     \
diff --git a/docs/reference/private/Makefile.am b/docs/reference/private/Makefile.am
index 082c947..c6534c3 100644
--- a/docs/reference/private/Makefile.am
+++ b/docs/reference/private/Makefile.am
@@ -13,8 +13,8 @@ SCAN_OPTIONS = --deprecated-guards="EDS_DISABLE_DEPRECATED"
 DOC_SOURCE_DIR = $(top_srcdir)/private
 
 # Used for dependencies. The docs will be rebuilt if any of these change.
-HFILE_GLOB = $(top_srcdir)/private/*.h
-CFILE_GLOB = $(top_srcdir)/private/*.c
+HFILE_GLOB = $(top_builddir)/private/*.h
+CFILE_GLOB = $(top_builddir)/private/*.c
 
 # Ignore interfaces from freedesktop.org.
 IGNORE_HFILES = \
@@ -37,7 +37,7 @@ GTKDOC_LIBS = \
 MKDB_OPTIONS = --output-format=xml --sgml-mode --name-space=e-dbus
 
 $(DOC_MAIN_SGML_FILE): $(DOC_MAIN_SGML_FILE).in
-       sed -e 's|\ SRCDIR\@|$(abs_top_srcdir)|g' $< > $(@)
+       sed -e 's|\ SRCDIR\@|$(abs_top_builddir)|g' $< > $(@)
 
 BUILT_SOURCES = $(DOC_MAIN_SGML_FILE)
 DISTCLEANFILES = $(BUILT_SOURCES)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]