aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2009-12-08 16:02:28 -0600
committerTed Gould <ted@gould.cx>2009-12-08 16:02:28 -0600
commite4cdb13a8f940e6cefb757fac5fc038b7310ce22 (patch)
tree7ee988c3091c29ea54a1a1a2cf9f32347e9a1c24
parenta29bb3d355c7a6cd97241ca3d7decb61545c0ece (diff)
downloadayatana-indicator-application-e4cdb13a8f940e6cefb757fac5fc038b7310ce22.tar.gz
ayatana-indicator-application-e4cdb13a8f940e6cefb757fac5fc038b7310ce22.tar.bz2
ayatana-indicator-application-e4cdb13a8f940e6cefb757fac5fc038b7310ce22.zip
Putting gtk-doc-check into a wrapper to it runs in srcdir
-rw-r--r--docs/reference/Makefile.am9
1 files changed, 8 insertions, 1 deletions
diff --git a/docs/reference/Makefile.am b/docs/reference/Makefile.am
index 2f4c584..67582f2 100644
--- a/docs/reference/Makefile.am
+++ b/docs/reference/Makefile.am
@@ -91,5 +91,12 @@ EXTRA_DIST += version.xml.in
#DISTCLEANFILES +=
# Comment this out if you want your docs-status tested during 'make check'
-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