summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorbdrewery <bdrewery@FreeBSD.org>2015-10-13 19:11:22 +0000
committerbdrewery <bdrewery@FreeBSD.org>2015-10-13 19:11:22 +0000
commit87255a034b80fd89af26e7177a022da774769173 (patch)
treec938029a3fcaf21a24e0892579b97abfb676e9fb /share
parent0e93f4a2a9c11b7b1195726c11fd94e760b33632 (diff)
downloadFreeBSD-src-87255a034b80fd89af26e7177a022da774769173.zip
FreeBSD-src-87255a034b80fd89af26e7177a022da774769173.tar.gz
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
Diffstat (limited to 'share')
-rw-r--r--share/mk/bsd.subdir.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/mk/bsd.subdir.mk b/share/mk/bsd.subdir.mk
index 94e9838..cc66c9a 100644
--- a/share/mk/bsd.subdir.mk
+++ b/share/mk/bsd.subdir.mk
@@ -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=
OpenPOWER on IntegriCloud