summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorWill Thompson <will.thompson@collabora.co.uk>2011-07-29 15:54:22 +0100
committerWill Thompson <will.thompson@collabora.co.uk>2011-07-29 15:56:33 +0100
commit3ab0d7678cb15cb33b7042c8a8b69c1b3ac5e93f (patch)
tree629b3c5fdff2b7b6bd47a9c8ede1e5ca891884d2 /docs
parent07cccde224118ebd852c41b7849bc9690ff2dc78 (diff)
docs: fix out-of-tree doc checks with gtk-doc 1.17
gtk-doc 1.17 runs in the builddir, not the sourcedir. So these files end up in the builddir, which is where we're running. Unfortunately this breaks doc checks with gtk-doc ≤ 1.16, which I can't find the strength to care about.
Diffstat (limited to 'docs')
-rw-r--r--docs/reference/Makefile.am18
1 files changed, 9 insertions, 9 deletions
diff --git a/docs/reference/Makefile.am b/docs/reference/Makefile.am
index 05b5163b..0fef271e 100644
--- a/docs/reference/Makefile.am
+++ b/docs/reference/Makefile.am
@@ -126,31 +126,31 @@ if ENABLE_GTK_DOC
check-local:
@err=0; \
if grep '^0 symbols incomplete' \
- $(srcdir)/telepathy-glib-undocumented.txt; then\
+ telepathy-glib-undocumented.txt; then\
:; \
else \
- cat $(srcdir)/telepathy-glib-undocumented.txt; \
+ cat telepathy-glib-undocumented.txt; \
err=1; \
fi; \
if grep '^0 not documented' \
- $(srcdir)/telepathy-glib-undocumented.txt; then\
+ telepathy-glib-undocumented.txt; then\
:; \
else \
- cat $(srcdir)/telepathy-glib-undocumented.txt; \
+ cat telepathy-glib-undocumented.txt; \
err=1; \
fi; \
- if grep . $(srcdir)/telepathy-glib-unused.txt; then\
+ if grep . telepathy-glib-unused.txt; then\
echo "^^^ Unused symbols" >&2; \
err=1; \
fi; \
- if test -e $(srcdir)/telepathy-glib-undeclared.txt &&\
- grep . $(srcdir)/telepathy-glib-undeclared.txt; then\
+ if test -e telepathy-glib-undeclared.txt &&\
+ grep . telepathy-glib-undeclared.txt; then\
echo "^^^ Undeclared symbols" >&2; \
err=1; \
fi; \
- sed -n -e 's,<FILE>\(.*\)</FILE>,\1,p' $(srcdir)/telepathy-glib-sections.txt |\
+ sed -n -e 's,<FILE>\(.*\)</FILE>,\1,p' telepathy-glib-sections.txt |\
while read file; do \
- if grep -F "xml/$$file.xml" $(srcdir)/telepathy-glib-docs.sgml \
+ if grep -F "xml/$$file.xml" telepathy-glib-docs.sgml \
>/dev/null;\
then \
:; \