Mon Aug 10 18:19:58 2020 UTC ()
make(1): clean up temporary files after posix1.mk test


(rillig)
diff -r1.3 -r1.4 src/usr.bin/make/unit-tests/posix1.mk

cvs diff -r1.3 -r1.4 src/usr.bin/make/unit-tests/posix1.mk (expand / switch to unified diff)

--- src/usr.bin/make/unit-tests/posix1.mk 2014/08/30 22:21:08 1.3
+++ src/usr.bin/make/unit-tests/posix1.mk 2020/08/10 18:19:58 1.4
@@ -1,24 +1,26 @@ @@ -1,24 +1,26 @@
1# $NetBSD: posix1.mk,v 1.3 2014/08/30 22:21:08 sjg Exp $ 1# $NetBSD: posix1.mk,v 1.4 2020/08/10 18:19:58 rillig Exp $
2 2
3# Keep the default suffixes from interfering, just in case. 3# Keep the default suffixes from interfering, just in case.
4.SUFFIXES: 4.SUFFIXES:
5 5
6all: line-continuations suffix-substitution localvars 6all: line-continuations suffix-substitution localvars
7 7
8# we need to clean for repeatable results 8# we need to clean for repeatable results
9.BEGIN: clean 9.BEGIN: clean
10clean: 10clean:
11 @rm -f lib.a dir/* dummy obj* 11 @rm -f lib.a dir/* dummy obj*
 12.END:
 13 @rm -f lib.a dir/* dummy obj*
12 14
13# 15#
14# Line continuations 16# Line continuations
15# 17#
16 18
17# Escaped newlines and leading whitespace from the next line are replaced 19# Escaped newlines and leading whitespace from the next line are replaced
18# with single space, except in commands, where the escape and the newline 20# with single space, except in commands, where the escape and the newline
19# are retained, but a single leading tab (if any) from the next line is 21# are retained, but a single leading tab (if any) from the next line is
20# removed. (PR 49085) 22# removed. (PR 49085)
21# Expect: 23# Expect:
22# ${VAR} = "foo bar baz" 24# ${VAR} = "foo bar baz"
23# a 25# a
24# b 26# b