From 3a2379a02cab94a8b1fa3b6aa756a93aa06524d4 Mon Sep 17 00:00:00 2001 From: Mathieu Trudel-Lapierre Date: Tue, 4 Jun 2013 16:09:24 -0400 Subject: Move gtkdoc-check tests into tests/ --- tests/Makefile.am | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'tests/Makefile.am') diff --git a/tests/Makefile.am b/tests/Makefile.am index 0cd68d0..69b9f26 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -35,6 +35,12 @@ TESTS += \ # test-gtk-submenu endif +if ENABLE_GTK_DOC +TESTS += \ + test_libdbusmenu_glib_gtkdoc \ + test_libdbusmenu_gtk_gtkdoc +endif + # The Python test only work on the system copy of # dbusmenu, so while they can be usefule they're not # good tests of what you're currently building. Handy @@ -710,6 +716,18 @@ test-mago: test-gtk-label-client test-gtk-label-server $(srcdir)/dbusmenu-gtk/ma # Other ######################### +test_libdbusmenu_glib_gtkdoc: + @echo "#!/bin/bash" > $@ + @echo cd $(abs_top_builddir)/docs/libdbusmenu-glib/reference >> $@ + @echo gtester --verbose -k $(GTKDOC_CHECK) >> $@ + @chmod +x $@ + +test_libdbusmenu_gtk_gtkdoc: + @echo "#!/bin/bash" > $@ + @echo cd $(abs_top_builddir)/docs/libdbusmenu-gtk/reference >> $@ + @echo gtester --verbose -k $(GTKDOC_CHECK) >> $@ + @chmod +x $@ + examplesdir = $(docdir)/examples/ examples_DATA = \ -- cgit v1.2.3