Make NOCLEAN an error instead of a warning
The warning was added in r289728 (over four years ago) and at that time NO_CLEAN was already the correct spelling for over a decade. Make NOCLEAN an error as the next step to removing these backward compatibility shims.
This commit is contained in:
parent
6d204a6a0e
commit
c590fd27de
@ -458,8 +458,7 @@ SUBDIR+=etc
|
||||
.endif # !empty(SUBDIR_OVERRIDE)
|
||||
|
||||
.if defined(NOCLEAN)
|
||||
.warning NOCLEAN option is deprecated. Use NO_CLEAN instead.
|
||||
NO_CLEAN= ${NOCLEAN}
|
||||
.error NOCLEAN option is deprecated. Use NO_CLEAN instead.
|
||||
.endif
|
||||
.if defined(NO_CLEANDIR)
|
||||
CLEANDIR= clean cleandepend
|
||||
|
Loading…
x
Reference in New Issue
Block a user