diff options
author | Mathieu Trudel-Lapierre <mathieu-tl@ubuntu.com> | 2013-06-04 16:09:24 -0400 |
---|---|---|
committer | Mathieu Trudel-Lapierre <mathieu-tl@ubuntu.com> | 2013-06-04 16:09:24 -0400 |
commit | 3a2379a02cab94a8b1fa3b6aa756a93aa06524d4 (patch) | |
tree | 7f508ea9f55823e6e549796e882fbc272b231df0 | |
parent | 4838bf84e39dccb6af71cf266438aaf49eea55d2 (diff) | |
download | libdbusmenu-3a2379a02cab94a8b1fa3b6aa756a93aa06524d4.tar.gz libdbusmenu-3a2379a02cab94a8b1fa3b6aa756a93aa06524d4.tar.bz2 libdbusmenu-3a2379a02cab94a8b1fa3b6aa756a93aa06524d4.zip |
Move gtkdoc-check tests into tests/
-rw-r--r-- | docs/libdbusmenu-glib/reference/Makefile.am | 3 | ||||
-rw-r--r-- | docs/libdbusmenu-gtk/reference/Makefile.am | 3 | ||||
-rw-r--r-- | tests/Makefile.am | 18 |
3 files changed, 18 insertions, 6 deletions
diff --git a/docs/libdbusmenu-glib/reference/Makefile.am b/docs/libdbusmenu-glib/reference/Makefile.am index 6c9e6eb..bdc0b22 100644 --- a/docs/libdbusmenu-glib/reference/Makefile.am +++ b/docs/libdbusmenu-glib/reference/Makefile.am @@ -89,11 +89,8 @@ EXTRA_DIST += version.xml.in # for --rebuild-sections in $(SCAN_OPTIONS) e.g. $(DOC_MODULE)-sections.txt #DISTCLEANFILES += -# Comment this out if you want 'make check' to test you doc status -# and run some sanity checks 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) endif diff --git a/docs/libdbusmenu-gtk/reference/Makefile.am b/docs/libdbusmenu-gtk/reference/Makefile.am index 9c94bd1..7902a09 100644 --- a/docs/libdbusmenu-gtk/reference/Makefile.am +++ b/docs/libdbusmenu-gtk/reference/Makefile.am @@ -89,12 +89,9 @@ EXTRA_DIST += version.xml.in # for --rebuild-sections in $(SCAN_OPTIONS) e.g. $(DOC_MODULE)-sections.txt #DISTCLEANFILES += -# Comment this out if you want 'make check' to test you doc status -# and run some sanity checks 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) endif 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 = \ |