Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Nov 2016 00:10:56 +0000 (UTC)
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r308597 - head/share/mk
Message-ID:  <201611130010.uAD0AuE7093983@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bdrewery
Date: Sun Nov 13 00:10:56 2016
New Revision: 308597
URL: https://svnweb.freebsd.org/changeset/base/308597

Log:
  Always set CLEANFILES, even if not building.
  
  This will ensure that 'make clean' does the right thing.
  
  MFC after:	2 weeks
  Sponsored by:	Dell EMC Isilon

Modified:
  head/share/mk/bsd.lib.mk

Modified: head/share/mk/bsd.lib.mk
==============================================================================
--- head/share/mk/bsd.lib.mk	Sat Nov 12 23:58:07 2016	(r308596)
+++ head/share/mk/bsd.lib.mk	Sun Nov 13 00:10:56 2016	(r308597)
@@ -304,7 +304,6 @@ all:
 .else
 .if defined(_LIBS) && !empty(_LIBS)
 all: ${_LIBS}
-CLEANFILES+=	${_LIBS}
 .endif
 
 .if ${MK_MAN} != "no" && !defined(LIBRARIES_ONLY)
@@ -312,6 +311,8 @@ all: all-man
 .endif
 .endif
 
+CLEANFILES+=	${_LIBS}
+
 _EXTRADEPEND:
 .if !defined(NO_EXTRADEPEND) && defined(SHLIB_NAME)
 .if defined(DPADD) && !empty(DPADD)



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