aboutsummaryrefslogtreecommitdiff
path: root/docs/reference
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2013-06-07 17:12:07 -0500
committerTed Gould <ted@gould.cx>2013-06-07 17:12:07 -0500
commit0678dacde93605f1b04e151473de32b21526f38f (patch)
treeb06e8192a8755389c2189190466396a19a42cb01 /docs/reference
parent1ca305b739419f4f158189aabb40abca37434700 (diff)
downloadlibayatana-appindicator-0678dacde93605f1b04e151473de32b21526f38f.tar.gz
libayatana-appindicator-0678dacde93605f1b04e151473de32b21526f38f.tar.bz2
libayatana-appindicator-0678dacde93605f1b04e151473de32b21526f38f.zip
Making sure the check is done in the source directory
Diffstat (limited to 'docs/reference')
-rw-r--r--docs/reference/Makefile.am12
1 files changed, 11 insertions, 1 deletions
diff --git a/docs/reference/Makefile.am b/docs/reference/Makefile.am
index 2c201bd..1788967 100644
--- a/docs/reference/Makefile.am
+++ b/docs/reference/Makefile.am
@@ -119,5 +119,15 @@ if ENABLE_GTK_DOC
TESTS_ENVIRONMENT = cd $(srcdir) && \
DOC_MODULE=$(DOC_MODULE) DOC_MAIN_SGML_FILE=$(DOC_MAIN_SGML_FILE) \
SRCDIR=$(abs_srcdir) BUILDDIR=$(abs_builddir)
-TESTS = $(GTKDOC_CHECK)
+
+TESTS = gtkdoc-in-srcdir
+
+gtkdoc-in-srcdir: Makefile.am
+ @echo "#!/bin/sh" > $@
+ @echo "cd \"$(srcdir)\"" >> $@
+ @echo "$(GTKDOC_CHECK)" >> $@
+ @chmod +x $@
+
+DISTCLEANFILES = gtkdoc-in-srcdir
+
endif