forked from Mirrors/flatpak-builder
Disable gtkdoc-check by default for now
We know the documentation is incomplete, so there seems little value in having 'make check' tell us that. Everything except the documentation check is expected to succeed, so it's now more useful to report test failures in continuous integration systems, making functional regressions more visible. Signed-off-by: Simon McVittie <smcv@debian.org>tingping/wmclass
parent
a754db12a2
commit
9a6bf95054
|
@ -226,10 +226,18 @@ GOBJECT_INTROSPECTION_CHECK([1.40.0])
|
|||
# gtkdocize greps for ^GTK_DOC_CHECK, so we need to put it on its own line
|
||||
m4_ifdef([GTK_DOC_CHECK], [
|
||||
GTK_DOC_CHECK([1.20], [--flavour no-tmpl])
|
||||
|
||||
AC_ARG_ENABLE([gtk-doc-check],
|
||||
[AS_HELP_STRING([--enable-gtk-doc-check],
|
||||
[Check completeness of documentation in 'make check'])],
|
||||
[],
|
||||
[enable_gtk_doc_check=no])
|
||||
],[
|
||||
enable_gtk_doc="disabled (no gtk-doc)"
|
||||
enable_gtk_doc_check="disabled (no gtk-doc)"
|
||||
AM_CONDITIONAL([ENABLE_GTK_DOC], [false])
|
||||
])
|
||||
AM_CONDITIONAL([ENABLE_GTK_DOC_CHECK], [test "x$enable_gtk_doc_check" = xyes])
|
||||
|
||||
##################################################
|
||||
# Visibility handling
|
||||
|
|
|
@ -28,7 +28,7 @@ GTKDOC_LIBS = $(top_builddir)/libxdg-app.la $(BASE_LIBS)
|
|||
|
||||
include $(top_srcdir)/gtk-doc.make
|
||||
|
||||
if ENABLE_GTK_DOC
|
||||
if ENABLE_GTK_DOC_CHECK
|
||||
TESTS_ENVIRONMENT = \
|
||||
DOC_MODULE=$(DOC_MODULE) DOC_MAIN_SGML_FILE=$(DOC_MAIN_SGML_FILE) \
|
||||
SRCDIR=$(abs_srcdir) BUILDDIR=$(abs_builddir)
|
||||
|
|
Loading…
Reference in New Issue