diff options
author | Ed Maste <emaste@FreeBSD.org> | 2019-12-11 14:54:29 +0000 |
---|---|---|
committer | Ed Maste <emaste@FreeBSD.org> | 2019-12-11 14:54:29 +0000 |
commit | c590fd27dedb241f59497865b1dcd8770b0d95f6 (patch) | |
tree | df1b48b94b3f89ba146bb032de67c22dbf03346a /Makefile.inc1 | |
parent | 6d204a6a0e5d5e3ca8464ce403ae6e88dad2d49e (diff) | |
download | src-c590fd27dedb241f59497865b1dcd8770b0d95f6.tar.gz src-c590fd27dedb241f59497865b1dcd8770b0d95f6.zip |
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.
Notes
Notes:
svn path=/head/; revision=355609
Diffstat (limited to 'Makefile.inc1')
-rw-r--r-- | Makefile.inc1 | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1 index bfb0e0559721..b8e1f7336e14 100644 --- a/Makefile.inc1 +++ b/Makefile.inc1 @@ -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 |