Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/make/unit-tests Remove RO_OBJDIR when done



details:   https://anonhg.NetBSD.org/src/rev/aa47b8c9d497
branches:  trunk
changeset: 942642:aa47b8c9d497
user:      sjg <sjg%NetBSD.org@localhost>
date:      Sat Nov 14 07:36:00 2020 +0000

description:
Remove RO_OBJDIR when done

diffstat:

 usr.bin/make/unit-tests/objdir-writable.mk |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r 974c501bdd49 -r aa47b8c9d497 usr.bin/make/unit-tests/objdir-writable.mk
--- a/usr.bin/make/unit-tests/objdir-writable.mk        Sat Nov 14 06:15:11 2020 +0000
+++ b/usr.bin/make/unit-tests/objdir-writable.mk        Sat Nov 14 07:36:00 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: objdir-writable.mk,v 1.3 2020/11/13 09:01:59 rillig Exp $
+# $NetBSD: objdir-writable.mk,v 1.4 2020/11/14 07:36:00 sjg Exp $
 
 # test checking for writable objdir
 
@@ -15,6 +15,10 @@
 # make it now
 x!= echo; mkdir -p ${RO_OBJDIR};  chmod 555 ${RO_OBJDIR}
 
+.END: rm-objdir
+rm-objdir:
+       @rmdir ${RO_OBJDIR}
+
 no-objdir:
        @MAKEOBJDIR=${RO_OBJDIR} ${.MAKE} -r -f /dev/null -C /tmp -V .OBJDIR
 



Home | Main Index | Thread Index | Old Index