From owner-svn-src-head@FreeBSD.ORG Wed May 30 22:27:34 2012 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A0AA81065674; Wed, 30 May 2012 22:27:34 +0000 (UTC) (envelope-from obrien@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 8B9198FC18; Wed, 30 May 2012 22:27:34 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q4UMRYBp084195; Wed, 30 May 2012 22:27:34 GMT (envelope-from obrien@svn.freebsd.org) Received: (from obrien@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q4UMRY9n084194; Wed, 30 May 2012 22:27:34 GMT (envelope-from obrien@svn.freebsd.org) Message-Id: <201205302227.q4UMRY9n084194@svn.freebsd.org> From: "David E. O'Brien" Date: Wed, 30 May 2012 22:27:34 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r236340 - head/tools/build/make_check X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 May 2012 22:27:34 -0000 Author: obrien Date: Wed May 30 22:27:34 2012 New Revision: 236340 URL: http://svn.freebsd.org/changeset/base/236340 Log: make it easier to check newly-built make Added: head/tools/build/make_check/check.mk (contents, props changed) Added: head/tools/build/make_check/check.mk ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/tools/build/make_check/check.mk Wed May 30 22:27:34 2012 (r236340) @@ -0,0 +1,19 @@ +# $FreeBSD$ + +all: + ${MK} ${MK_ARG} + +.if exists(${.OBJDIR}/../../../usr.bin/make/make) +MK= ${.OBJDIR}/../../../usr.bin/make/make +new: + ${MK} ${MK_ARG} 2>&1 | tee out-new + @echo "-=-=-=-=-=-" + make ${MK_ARG} 2>&1 | tee out-old + @echo "-=-=-=-=-=-" + diff -s out-old out-new +.else +MK= make +.endif +MK_ARG= -C ${.CURDIR} + +.include