diff options
author | Sjoerd Simons <sjoerd.simons@collabora.co.uk> | 2011-11-18 11:21:05 +0000 |
---|---|---|
committer | Sjoerd Simons <sjoerd.simons@collabora.co.uk> | 2011-11-18 16:07:55 +0000 |
commit | 538f29d85735d679e7b4cbe33836ff4dd9b77fd3 (patch) | |
tree | 458c0b7175328069b3002179eb705ce5a4cda298 /doc | |
parent | 4e488aa1f09178abafbc4bf71e6fd4fc88adafb9 (diff) |
Fix out of tree documentation builds
Diffstat (limited to 'doc')
-rw-r--r-- | doc/lib/Makefile.am | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/doc/lib/Makefile.am b/doc/lib/Makefile.am index 1c296e1..0fc3c31 100644 --- a/doc/lib/Makefile.am +++ b/doc/lib/Makefile.am @@ -15,7 +15,7 @@ DOC_MAIN_SGML_FILE=$(DOC_MODULE)-docs.sgml # gtk-doc will search all .c & .h files beneath here for inline comments # documenting the functions and macros. # e.g. DOC_SOURCE_DIR=../../../gtk -DOC_SOURCE_DIR=../../telepathy-farstream +DOC_SOURCE_DIR=$(abs_top_srcdir)/telepathy-farstream # Extra options to pass to gtkdoc-scangobj. Not normally needed. SCANGOBJ_OPTIONS= @@ -91,16 +91,16 @@ include $(top_srcdir)/gtk-doc.make if ENABLE_GTK_DOC check-local: @if grep '^0 symbols incomplete' \ - $(srcdir)/telepathy-farstream-undocumented.txt; then\ + $(top_builddir)/doc/lib/telepathy-farstream-undocumented.txt; then\ :; else \ - cat $(srcdir)/telepathy-farstream-undocumented.txt; exit 1; fi + cat $(top_builddir)/doc/lib/telepathy-farstream-undocumented.txt; exit 1; fi @if grep '^0 not documented' \ - $(srcdir)/telepathy-farstream-undocumented.txt; then\ + $(top_builddir)/doc/lib/telepathy-farstream-undocumented.txt; then\ :; else \ - cat $(srcdir)/telepathy-farstream-undocumented.txt; exit 1; fi - @if grep . $(srcdir)/telepathy-farstream-unused.txt; then\ + cat $(top_builddir)/doc/lib/telepathy-farstream-undocumented.txt; exit 1; fi + @if grep . $(top_builddir)/doc/lib/telepathy-farstream-unused.txt; then\ echo "^^^ Unused symbols" >&2; exit 1; fi - @if test -e $(srcdir)/telepathy-farstream-undeclared.txt &&\ - grep . $(srcdir)/telepathy-farstream-undeclared.txt; then\ + @if test -e $(top_builddir)/doc/lib/telepathy-farstream-undeclared.txt &&\ + grep . $(top_builddir)/doc/lib/telepathy-farstream-undeclared.txt; then\ echo "^^^ Undeclared symbols" >&2; exit 1; fi endif |