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>
This commit is contained in:
parent
93216fe45a
commit
576243248d
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=10537
1 changed files with 9 additions and 2 deletions
|
@ -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>
|
||||
|
||||
|
|
Loading…
Reference in a new issue