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.
parent 74c43e7b
...@@ -68,7 +68,12 @@ uninstall-hook: ...@@ -68,7 +68,12 @@ uninstall-hook:
rm -f "$(DESTDIR)$(datadir)/mime/types" rm -f "$(DESTDIR)$(datadir)/mime/types"
rm -f "$(DESTDIR)$(datadir)/mime/version" rm -f "$(DESTDIR)$(datadir)/mime/version"
all: check create-pot defaultmakedeps=create-pot
defaultmakedeps += check
all: $(defaultmakedeps)
create-pot: create-pot:
$(AM_V_GEN) $(MAKE) -C po shared-mime-info.pot $(AM_V_GEN) $(MAKE) -C po shared-mime-info.pot
...@@ -42,6 +42,12 @@ if test "x$GCC" = "xyes"; then ...@@ -42,6 +42,12 @@ if test "x$GCC" = "xyes"; then
fi fi
] ]
[run make check by default [default=yes]]),,
AM_CONDITIONAL(ENABLE_DEFAULT_MAKE_CHECK, test x$enable_default_make_check = xyes)
AC_ARG_ENABLE(update-mimedb, AC_ARG_ENABLE(update-mimedb,
AC_HELP_STRING([--disable-update-mimedb], AC_HELP_STRING([--disable-update-mimedb],
[disable the update-mime-database after install [default=no]]),, [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