From 140d836e9cd54fb67b969fd82ef7ed19ba574d40 Mon Sep 17 00:00:00 2001 From: Luca Falavigna Date: Sat, 26 Apr 2014 15:11:58 +0200 Subject: Imported Upstream version 2.3.1 --- src/engine/SCons/Tool/install.xml | 43 ++++++++++++++++++++++++++++++++------- 1 file changed, 36 insertions(+), 7 deletions(-) (limited to 'src/engine/SCons/Tool/install.xml') diff --git a/src/engine/SCons/Tool/install.xml b/src/engine/SCons/Tool/install.xml index 00924f7..057a006 100644 --- a/src/engine/SCons/Tool/install.xml +++ b/src/engine/SCons/Tool/install.xml @@ -1,23 +1,45 @@ + + +%scons; + +%builders-mod; + +%functions-mod; + +%tools-mod; + +%variables-mod; +]> + + + + + Sets construction variables for file and directory installation. + -INSTALL -INSTALLSTR +INSTALL +INSTALLSTR + Installs one or more source files or directories in the specified target, which must be a directory. @@ -25,15 +47,17 @@ The names of the specified source files or directories remain the same within the destination directory. The sources may be given as a string or as a node returned by a builder. + - + env.Install('/usr/local/bin', source = ['foo', 'bar']) - + + Installs one or more source files or directories to specific names, allowing changing a file or directory name @@ -43,21 +67,26 @@ target and source arguments list different numbers of files or directories. + + Installs a versioned shared library. The &cv-link-SHLIBVERSION; construction variable should be defined in the environment to confirm the version number in the library name. The symlinks appropriate to the architecture will be generated. + - + env.InstallAs(target = '/usr/local/bin/foo', source = 'foo_debug') env.InstallAs(target = ['../lib/libfoo.a', '../lib/libbar.a'], source = ['libFOO.a', 'libBAR.a']) - + + + \ No newline at end of file -- cgit v1.2.3