aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMurray Stokely <murray@FreeBSD.org>2001-09-02 10:47:56 +0000
committerMurray Stokely <murray@FreeBSD.org>2001-09-02 10:47:56 +0000
commit576243248d7bedba2765bc55db316fd5f13991b7 (patch)
tree3da4ab9c173c9f78abddf9fa7bb9090837503f53
parent93216fe45a7409eb98a0518d8b9e5a80b981c58a (diff)
downloaddoc-576243248d7bedba2765bc55db316fd5f13991b7.tar.gz
doc-576243248d7bedba2765bc55db316fd5f13991b7.zip
Add a <tip> about removing the 'work' directories manually, which is
much faster than calling make clean recursively. PR: docs/29517 Submitted by: Gary W. Swearingen <swear@aa.net>
Notes
Notes: svn path=/head/; revision=10537
-rw-r--r--en_US.ISO8859-1/books/handbook/ports/chapter.sgml11
1 files 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 @@
<!--
The FreeBSD Documentation Project
- $FreeBSD: doc/en_US.ISO8859-1/books/handbook/ports/chapter.sgml,v 1.136 2001/08/11 21:34:52 jim Exp $
+ $FreeBSD: doc/en_US.ISO8859-1/books/handbook/ports/chapter.sgml,v 1.137 2001/08/16 18:35:06 chern Exp $
-->
<chapter id="ports">
@@ -1120,7 +1120,7 @@ arcade game.</screen>
<answer>
<para>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:</para>
<screen>&prompt.root; <userinput>cd /usr/ports</userinput>
@@ -1129,6 +1129,13 @@ arcade game.</screen>
<para>which will go through all the ports subdirectories and
delete everything except the skeletons for each
port.</para>
+
+ <tip><para>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:
+ <screen>&prompt.root; <userinput>find /usr/ports -depth -name work -exec rm -rf {} \;</userinput></screen></para>
+ </tip>
</answer>
</qandaentry>