[libpeas] Check the docs for errors during make check
- From: Garrett Regier <gregier src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libpeas] Check the docs for errors during make check
- Date: Sat, 20 Dec 2014 17:20:44 +0000 (UTC)
commit 7e0cf451873af2a2300eabc88e769f617a58afdf
Author: Garrett Regier <garrettregier gmail com>
Date: Fri Dec 19 23:45:55 2014 -0800
Check the docs for errors during make check
This uses the provided gtkdoc-check program.
.gitignore | 1 +
docs/reference/Makefile.am | 10 ++++++++++
2 files changed, 11 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e7ae5cc..d5a179a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -35,6 +35,7 @@ Makefile.in
/data/libpeas-gtk-1.0.pc
/data/glade/libpeas-gtk.xml
/depcomp
+/docs/reference/gtkdoc-check.test
/libpeas-*.tar.bz2
/libpeas/peas-marshal.h
/libpeas/peas-marshal.c
diff --git a/docs/reference/Makefile.am b/docs/reference/Makefile.am
index 4d662b6..a0c134c 100644
--- a/docs/reference/Makefile.am
+++ b/docs/reference/Makefile.am
@@ -93,3 +93,13 @@ include $(top_srcdir)/gtk-doc.make
# Other files to distribute
EXTRA_DIST += \
version.xml.in
+
+TESTS_ENVIRONMENT = \
+ SRCDIR=$(abs_srcdir) \
+ BUILDDIR=$(abs_builddir) \
+ DOC_MODULE=$(DOC_MODULE) \
+ DOC_MAIN_SGML_FILE=$(DOC_MAIN_SGML_FILE)
+
+check-local: $(GTKDOC_CHECK)
+ @$(TESTS_ENVIRONMENT) $(GTKDOC_CHECK)
+
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]