diff options
author | rh <rh> | 2002-06-30 03:52:32 +0000 |
---|---|---|
committer | rh <rh> | 2002-06-30 03:52:32 +0000 |
commit | cacaa132b0524642ddd62365eee76a18a83a9d62 (patch) | |
tree | 696c953e131bfe31bd30a4eaeb600ddc34fb92da /Packages.txt | |
parent | e5cb9d92f39ccc5b202a8caa8fd78d76458871f0 (diff) | |
download | pkgsrc-cacaa132b0524642ddd62365eee76a18a83a9d62.tar.gz |
Give an example on how to ensure the tree is clean for packages and
prerequisites to be updated.
Diffstat (limited to 'Packages.txt')
-rw-r--r-- | Packages.txt | 19 |
1 files changed, 15 insertions, 4 deletions
diff --git a/Packages.txt b/Packages.txt index ebe17789b12..4b265c1914b 100644 --- a/Packages.txt +++ b/Packages.txt @@ -1,4 +1,4 @@ -# $NetBSD: Packages.txt,v 1.254 2002/06/30 03:43:43 rh Exp $ +# $NetBSD: Packages.txt,v 1.255 2002/06/30 03:52:32 rh Exp $ ########################################################################### ========================== @@ -1432,9 +1432,20 @@ perform the equivalent of: update") or you may lose some packages you intended to update. As a rule of thumb: only use this target _before_ the first time you call "make update" and only if you have a dirty package tree - (e.g., if you used NOCLEAN). The following variables can be used - either on the command line or in /etc/mk.conf to alter the behaviour - of "make clean-update": + (e.g., if you used NOCLEAN). + + If you unsure about whether your tree is clean you can either perform + a "make clean" at the top of the tree, or use the following sequence + of commands from the directory of the package you want to update + (*before* running "make update" for the first time, otherwise you lose + all the packages you wanted to update!): + + make clean-update + make clean CLEANDEPENDS=YES + make update + + The following variables can be used either on the command line or in + /etc/mk.conf to alter the behaviour of "make clean-update": - CLEAR_DIRLIST: After "make clean", do not reconstruct the list of directories to |