Expose all of {check,delete}-old{,-dirs,-files,-libs}.

MFC after:	3 weeks
This commit is contained in:
Dag-Erling Smørgrav 2007-05-16 08:46:35 +00:00
parent 84478d58d1
commit 32cd239bbd
2 changed files with 16 additions and 6 deletions

View File

@ -17,9 +17,14 @@
# kernel - buildkernel + installkernel. # kernel - buildkernel + installkernel.
# doxygen - Build API documentation of the kernel, needs doxygen. # doxygen - Build API documentation of the kernel, needs doxygen.
# update - Convenient way to update your source tree (cvs). # update - Convenient way to update your source tree (cvs).
# check-old - Print a list of old files/directories in the system. # check-old - List obsolete directories/files/libraries.
# delete-old - Delete obsolete files and directories interactively. # check-old-dirs - List obsolete directories.
# delete-old-libs - Delete obsolete libraries interactively. # check-old-files - List obsolete files.
# check-old-libs - List obsolete libraries.
# delete-old - Delete obsolete directories/files/libraries.
# delete-old-dirs - Delete obsolete directories.
# delete-old-files - Delete obsolete files.
# delete-old-libs - Delete obsolete libraries.
# #
# This makefile is simple by design. The FreeBSD make automatically reads # This makefile is simple by design. The FreeBSD make automatically reads
# the /usr/share/mk/sys.mk unless the -m argument is specified on the # the /usr/share/mk/sys.mk unless the -m argument is specified on the
@ -70,8 +75,10 @@
# developer convenience only. They are intentionally not documented and # developer convenience only. They are intentionally not documented and
# completely subject to change without notice. # completely subject to change without notice.
# #
TGTS= all all-man buildenv buildenvvars buildkernel buildworld check-old \ TGTS= all all-man buildenv buildenvvars buildkernel buildworld \
checkdpadd clean cleandepend cleandir delete-old delete-old-libs \ check-old check-old-dirs check-old-files check-old-libs \
checkdpadd clean cleandepend cleandir \
delete-old delete-old-dirs delete-old-files delete-old-libs \
depend distribute distributeworld distrib-dirs distribution doxygen \ depend distribute distributeworld distrib-dirs distribution doxygen \
everything hierarchy install installcheck installkernel \ everything hierarchy install installcheck installkernel \
installkernel.debug reinstallkernel reinstallkernel.debug \ installkernel.debug reinstallkernel reinstallkernel.debug \

View File

@ -1114,7 +1114,10 @@ par-${__target}: ${SUBDIR:S/$/.${__target}__D/}
.include <bsd.subdir.mk> .include <bsd.subdir.mk>
.if make(delete-old) || make(delete-old-libs) || make(check-old) .if make(check-old) || make(check-old-dirs) || \
make(check-old-files) || make(check-old-libs) || \
make(delete-old) || make(delete-old-dirs) || \
make(delete-old-files) || make(delete-old-libs)
# #
# check for / delete old files section # check for / delete old files section