aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2011-02-21 15:11:49 -0600
committerTed Gould <ted@gould.cx>2011-02-21 15:11:49 -0600
commitc1506b101d22d01dad63da90683e9a13a4e2dac0 (patch)
tree65b569998dc31b7978e73595f8a4bd0ded7800f4 /docs
parent5081c0995ec364ef685af221dab871d4bd7e04e9 (diff)
downloadlibdbusmenu-c1506b101d22d01dad63da90683e9a13a4e2dac0.tar.gz
libdbusmenu-c1506b101d22d01dad63da90683e9a13a4e2dac0.tar.bz2
libdbusmenu-c1506b101d22d01dad63da90683e9a13a4e2dac0.zip
Make sure to run the check in the source directory.
Diffstat (limited to 'docs')
-rw-r--r--docs/libdbusmenu-glib/reference/Makefile.am10
-rw-r--r--docs/libdbusmenu-gtk/reference/Makefile.am9
2 files changed, 17 insertions, 2 deletions
diff --git a/docs/libdbusmenu-glib/reference/Makefile.am b/docs/libdbusmenu-glib/reference/Makefile.am
index 76fdfb5..1c8dfa8 100644
--- a/docs/libdbusmenu-glib/reference/Makefile.am
+++ b/docs/libdbusmenu-glib/reference/Makefile.am
@@ -89,5 +89,13 @@ 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
diff --git a/docs/libdbusmenu-gtk/reference/Makefile.am b/docs/libdbusmenu-gtk/reference/Makefile.am
index e06dc17..06d0009 100644
--- a/docs/libdbusmenu-gtk/reference/Makefile.am
+++ b/docs/libdbusmenu-gtk/reference/Makefile.am
@@ -90,5 +90,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