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 <bsd.obj.mk>
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"