diff options
Diffstat (limited to 'src/engine/SCons/Tool/packaging/__init__.xml')
-rw-r--r-- | src/engine/SCons/Tool/packaging/__init__.xml | 25 |
1 files changed, 16 insertions, 9 deletions
diff --git a/src/engine/SCons/Tool/packaging/__init__.xml b/src/engine/SCons/Tool/packaging/__init__.xml index 3221e87..e4718dd 100644 --- a/src/engine/SCons/Tool/packaging/__init__.xml +++ b/src/engine/SCons/Tool/packaging/__init__.xml @@ -1,5 +1,5 @@ <!-- -Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 The SCons Foundation +Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 The SCons Foundation This file is processed by the bin/SConsDoc.py module. See its __doc__ string for a discussion of the format. @@ -502,7 +502,6 @@ field in the RPM </cvar> - <!-- THE FOLLOWING AREN'T CONSTRUCTION VARIABLES, @@ -627,24 +626,32 @@ TODO --> -<!-- -<builder name="Tag"> +<scons_function name="Tag"> +<arguments signature="global"> +(node, tags) +</arguments> <summary> -Leaves hints for the Package() Builder on how specific -files or directories should be packaged. +Annotates file or directory Nodes with +information about how the +&b-link-Package; +Builder should package those files or directories. All tags are optional. +Examples: + <example> # makes sure the built library will be installed with 0644 file # access mode -Tag( Library( 'lib.c' ), unix-attr="0644" ) +Tag( Library( 'lib.c' ), UNIX_ATTR="0644" ) # marks file2.txt to be a documentation file -Tag( 'file2.txt', doc ) +Tag( 'file2.txt', DOC ) </example> </summary> -</builder> +</scons_function> + +<!-- <function name="FindSourceFiles"> <summary> A convenience function which returns all leaves of the build tree. |