summaryrefslogtreecommitdiffstats
path: root/doc/man
diff options
context:
space:
mode:
authorGary Oberbrunner <garyo@oberbrunner.com>2008-10-02 02:17:58 (GMT)
committerGary Oberbrunner <garyo@oberbrunner.com>2008-10-02 02:17:58 (GMT)
commitec7a3415919e0604ca262e0f9fd5df82797f30fe (patch)
treea58ecf502de371a7ba37b2742f4bc3a40e3bc052 /doc/man
parent2339a80cd71559200f18733234af6d5fb93ccbf7 (diff)
downloadSCons-ec7a3415919e0604ca262e0f9fd5df82797f30fe.zip
SCons-ec7a3415919e0604ca262e0f9fd5df82797f30fe.tar.gz
SCons-ec7a3415919e0604ca262e0f9fd5df82797f30fe.tar.bz2
implement delete_existing for AppendUnique and PrependUnique. Finishes #2091.
Diffstat (limited to 'doc/man')
-rw-r--r--doc/man/scons.110
1 files changed, 8 insertions, 2 deletions
diff --git a/doc/man/scons.1 b/doc/man/scons.1
index f080bd7..2d2cc95 100644
--- a/doc/man/scons.1
+++ b/doc/man/scons.1
@@ -2732,7 +2732,7 @@ after: /biz:/foo/bar:/foo
'\"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
.TP
-.RI env.AppendUnique( key = val ", [...])"
+.RI env.AppendUnique( key = val ", [...], delete_existing=0)"
Appends the specified keyword arguments
to the end of construction variables in the environment.
If the Environment does not have
@@ -2743,6 +2743,9 @@ then any value(s) that already exist in the
construction variable will
.I not
be added again to the list.
+However, if delete_existing is 1,
+existing matching values are removed first, so
+existing values in the arg list move to the end of the list.
Example:
@@ -4940,7 +4943,7 @@ after: /foo/bar:/foo:/biz
'\"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
.TP
-.RI env.PrependUnique( key = val ", [...])"
+.RI env.PrependUnique( key = val ", delete_existing=0, [...])"
Appends the specified keyword arguments
to the beginning of construction variables in the environment.
If the Environment does not have
@@ -4951,6 +4954,9 @@ then any value(s) that already exist in the
construction variable will
.I not
be added again to the list.
+However, if delete_existing is 1,
+existing matching values are removed first, so
+existing values in the arg list move to the front of the list.
Example: