Mercurial > hg > octave-nkf > gnulib-hg
changeset 14199:d6780f2a0ebc
maint.mk: make "check" depend on public-submodule-commit by default
* top/maint.mk (GL_PUBLIC_SUBMODULE_COMMIT): New overridable variable.
author | Jim Meyering <meyering@redhat.com> |
---|---|
date | Thu, 20 Jan 2011 21:49:06 +0100 |
parents | 90f8caec5c11 |
children | 5961a675b3cb |
files | ChangeLog top/maint.mk |
diffstat | 2 files changed, 13 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2011-01-20 Jim Meyering <meyering@redhat.com> + + maint.mk: make "check" depend on public-submodule-commit by default + * top/maint.mk (GL_PUBLIC_SUBMODULE_COMMIT): New overridable variable. + 2011-01-20 Bruno Haible <bruno@clisp.org> mbfile, mbiter: Complete change from 2008-12-21.
--- a/top/maint.mk +++ b/top/maint.mk @@ -1134,6 +1134,14 @@ else \ : ; \ fi +# This rule has a high enough utility/cost ratio that it should be a +# dependent of "check" by default. However, some of us do occasionally +# commit a temporary change that deliberately points to a non-public +# submodule commit, and want to be able to use rules like "make check". +# In that case, run e.g., "make check GL_PUBLIC_SUBMODULE_COMMIT=" +# to disable this test. +GL_PUBLIC_SUBMODULE_COMMIT ?= public-submodule-commit +check: $(GL_PUBLIC_SUBMODULE_COMMIT) .PHONY: alpha beta stable ALL_RECURSIVE_TARGETS += alpha beta stable