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
1 changed files with 2 additions and 2 deletions

View File

@ -125,7 +125,7 @@ SUBDIR:=${SUBDIR:u}
.endif .endif
.if defined(SUBDIR.) .if defined(SUBDIR.)
.error ${.CURDIR}: Found variable SUBDIR. with value "${SUBDIR.}". This was \ .error ${.CURDIR}: Found variable 'SUBDIR.' with value "${SUBDIR.}". This was\
probably caused by using SUBDIR.$${MK_FOO} without including\ probably caused by using SUBDIR.$${MK_FOO} without including\
<src.opts.mk> or by using an invalid $${MK_FOO} option. <src.opts.mk> or by using an invalid $${MK_FOO} option.
.endif .endif