Implement more clever mechanizm to clean external directories (in doc/ tree)

This commit is contained in:
Alexey Zelkin 2000-04-23 14:31:21 +00:00
parent e4c9030535
commit 483a9ff659
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/www/; revision=7086
2 changed files with 12 additions and 2 deletions

View file

@ -1,5 +1,5 @@
# bsd.web.mk
# $FreeBSD: www/en/web.mk,v 1.27 1999/12/23 01:14:35 kuriyama Exp $
# $FreeBSD: www/en/web.mk,v 1.28 2000/04/20 16:39:10 phantom Exp $
#
# Build and install a web site.
@ -127,6 +127,11 @@ orphans:
#
.if !target(clean)
clean: _PROGSUBDIR
.if defined(DIRS_TO_CLEAN) && !empty(DIRS_TO_CLEAN)
.for dir in ${DIRS_TO_CLEAN}
(cd ${dir} && ${MAKE} clean)
.endfor
.endif
rm -f Errs errs mklog ${GENDOCS} ${LOCAL} ${CLEANFILES}
.endif

View file

@ -1,5 +1,5 @@
# bsd.web.mk
# $FreeBSD: www/en/web.mk,v 1.27 1999/12/23 01:14:35 kuriyama Exp $
# $FreeBSD: www/en/web.mk,v 1.28 2000/04/20 16:39:10 phantom Exp $
#
# Build and install a web site.
@ -127,6 +127,11 @@ orphans:
#
.if !target(clean)
clean: _PROGSUBDIR
.if defined(DIRS_TO_CLEAN) && !empty(DIRS_TO_CLEAN)
.for dir in ${DIRS_TO_CLEAN}
(cd ${dir} && ${MAKE} clean)
.endfor
.endif
rm -f Errs errs mklog ${GENDOCS} ${LOCAL} ${CLEANFILES}
.endif