aboutsummaryrefslogtreecommitdiff
path: root/Makefile.inc1
diff options
context:
space:
mode:
authorEd Maste <emaste@FreeBSD.org>2019-12-11 14:54:29 +0000
committerEd Maste <emaste@FreeBSD.org>2019-12-11 14:54:29 +0000
commitc590fd27dedb241f59497865b1dcd8770b0d95f6 (patch)
treedf1b48b94b3f89ba146bb032de67c22dbf03346a /Makefile.inc1
parent6d204a6a0e5d5e3ca8464ce403ae6e88dad2d49e (diff)
downloadsrc-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.inc13
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