From 576243248d7bedba2765bc55db316fd5f13991b7 Mon Sep 17 00:00:00 2001 From: Murray Stokely Date: Sun, 2 Sep 2001 10:47:56 +0000 Subject: [PATCH] Add a about removing the 'work' directories manually, which is much faster than calling make clean recursively. PR: docs/29517 Submitted by: Gary W. Swearingen --- en_US.ISO8859-1/books/handbook/ports/chapter.sgml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/en_US.ISO8859-1/books/handbook/ports/chapter.sgml b/en_US.ISO8859-1/books/handbook/ports/chapter.sgml index 4ea5e3c82b..f412c5ccaf 100644 --- a/en_US.ISO8859-1/books/handbook/ports/chapter.sgml +++ b/en_US.ISO8859-1/books/handbook/ports/chapter.sgml @@ -1,7 +1,7 @@ @@ -1120,7 +1120,7 @@ arcade game. Yes, if you have installed the program and are fairly certain you will not need the source again, there is no - point in keeping it hanging around. The best way to do + point in keeping it hanging around. The surest way to do this is: &prompt.root; cd /usr/ports @@ -1129,6 +1129,13 @@ arcade game. which will go through all the ports subdirectories and delete everything except the skeletons for each port. + + It is possible to achieve the same effect without + recursively calling each makefile. For example, you + can delete all of the work subdirectories directly + with the following command: + &prompt.root; find /usr/ports -depth -name work -exec rm -rf {} \; +