svn commit: r289253 - head/share/mk

Bryan Drewery bdrewery at FreeBSD.org
Tue Oct 13 19:11:23 UTC 2015


Author: bdrewery
Date: Tue Oct 13 19:11:22 2015
New Revision: 289253
URL: https://svnweb.freebsd.org/changeset/base/289253

Log:
  bsd.subdir.mk: Handle cleanobj.
  
  Before this, the target was unknown.  Now it will recurse on subdirs and run
  the target in the current directory.  It is required to recurse as there
  may be subdirs that have objs in their directory or in the object directory,
  so it is not enough to just delete the objdir of the subdir parent.
  
  MFC after:	2 weeks
  Sponsored by:	EMC / Isilon Storage Division

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

Modified: head/share/mk/bsd.subdir.mk
==============================================================================
--- head/share/mk/bsd.subdir.mk	Tue Oct 13 18:56:50 2015	(r289252)
+++ head/share/mk/bsd.subdir.mk	Tue Oct 13 19:11:22 2015	(r289253)
@@ -86,7 +86,7 @@ ${SUBDIR:N.WAIT}: .PHONY .MAKE
 # Work around parsing of .if nested in .for by putting .WAIT string into a var.
 __wait= .WAIT
 .for __target in all all-man checkdpadd clean cleandepend cleandir \
-    cleanilinks depend distribute lint maninstall manlint obj objlink \
+    cleanilinks cleanobj depend distribute lint maninstall manlint obj objlink \
     realinstall regress tags ${SUBDIR_TARGETS}
 .ifdef SUBDIR_PARALLEL
 __subdir_targets=


More information about the svn-src-all mailing list