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.
This commit is contained in:
Enji Cooper 2024-04-21 09:27:48 -07:00
parent 793745fad8
commit b571bcea54

View file

@ -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