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)
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"

Reply via email to