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 {} \; +