Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Dec 2019 14:54:29 +0000 (UTC)
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r355609 - head
Message-ID:  <201912111454.xBBEsT42073427@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201912111454.xBBEsT42073427>