Author: emaste
Date: Wed Dec 11 14:54:29 2019
New Revision: 355609
URL: https://svnweb.freebsd.org/changeset/base/355609

Log:
  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.

Modified:
  head/Makefile.inc1

Modified: head/Makefile.inc1
==============================================================================
--- head/Makefile.inc1  Wed Dec 11 14:28:13 2019        (r355608)
+++ head/Makefile.inc1  Wed Dec 11 14:54:29 2019        (r355609)
@@ -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
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to