Commit 66836132 authored by Colin Walters's avatar Colin Walters Committed by Bastien Nocera
Browse files

Allow builders to not run make check by default

Doing so breaks cross compilation, and is just plain different from
pretty much every other module out there in the GNOME dependency stack.

Furthermore, the environment needed for tests is not necessarily the
same as that needed to just do a build.

https://bugs.freedesktop.org/show_bug.cgi?id=45180
parent 74c43e7b
......@@ -68,7 +68,12 @@ uninstall-hook:
rm -f "$(DESTDIR)$(datadir)/mime/types"
rm -f "$(DESTDIR)$(datadir)/mime/version"
all: check create-pot
defaultmakedeps=create-pot
if ENABLE_DEFAULT_MAKE_CHECK
defaultmakedeps += check
endif
all: $(defaultmakedeps)
create-pot:
$(AM_V_GEN) $(MAKE) -C po shared-mime-info.pot
......
......@@ -42,6 +42,12 @@ if test "x$GCC" = "xyes"; then
fi
]
AC_ARG_ENABLE(default-make-check,
AC_HELP_STRING([--disable-default-make-check],
[run make check by default [default=yes]]),,
enable_default_make_check=yes)
AM_CONDITIONAL(ENABLE_DEFAULT_MAKE_CHECK, test x$enable_default_make_check = xyes)
AC_ARG_ENABLE(update-mimedb,
AC_HELP_STRING([--disable-update-mimedb],
[disable the update-mime-database after install [default=no]]),,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment