aboutsummaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorEnji Cooper <ngie@FreeBSD.org>2024-04-21 16:27:48 +0000
committerEnji Cooper <ngie@FreeBSD.org>2024-04-21 16:30:09 +0000
commitb571bcea5495327fd210378109b0b2aed08bebc3 (patch)
tree69231f99518155526a8d453fbff9fb3257dc3c74 /share
parent793745fad866f65863ab3b16a17bdf18dc779efd (diff)
downloadsrc-b571bcea5495327fd210378109b0b2aed08bebc3.tar.gz
src-b571bcea5495327fd210378109b0b2aed08bebc3.zip
bsd.subdir.mk: improve `SUBDIR.${MK_FOO}` advice
- Remove superfluous whitespace by removing trailing whitespace before `\` (line continuation character) - Quote `SUBDIR.` to clarify the fact that this is a variable reference--not the end of a sentence.
Diffstat (limited to 'share')
-rw-r--r--share/mk/bsd.subdir.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/share/mk/bsd.subdir.mk b/share/mk/bsd.subdir.mk
index 95a178c04907..565af41602c0 100644
--- a/share/mk/bsd.subdir.mk
+++ b/share/mk/bsd.subdir.mk
@@ -125,8 +125,8 @@ SUBDIR:=${SUBDIR:u}
.endif
.if defined(SUBDIR.)
-.error ${.CURDIR}: Found variable SUBDIR. with value "${SUBDIR.}". This was \
- probably caused by using SUBDIR.$${MK_FOO} without including \
+.error ${.CURDIR}: Found variable 'SUBDIR.' with value "${SUBDIR.}". This was\
+ probably caused by using SUBDIR.$${MK_FOO} without including\
<src.opts.mk> or by using an invalid $${MK_FOO} option.
.endif