diff options
author | obrien <obrien@FreeBSD.org> | 2012-05-30 22:27:34 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2012-05-30 22:27:34 +0000 |
commit | c7adc0ccb4099c42531f6babec3bbf94fe5f4807 (patch) | |
tree | be4d4ca341617237928a5bdec7361ed048ee96af /tools/build/make_check | |
parent | 2c3aca1390f76f2361e34cc5885c6f9cd9d2cc91 (diff) | |
download | FreeBSD-src-c7adc0ccb4099c42531f6babec3bbf94fe5f4807.zip FreeBSD-src-c7adc0ccb4099c42531f6babec3bbf94fe5f4807.tar.gz |
make it easier to check newly-built make
Diffstat (limited to 'tools/build/make_check')
-rw-r--r-- | tools/build/make_check/check.mk | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/tools/build/make_check/check.mk b/tools/build/make_check/check.mk new file mode 100644 index 0000000..f2d666d --- /dev/null +++ b/tools/build/make_check/check.mk @@ -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> |