%scons; %builders-mod; %functions-mod; %tools-mod; %variables-mod; ]> Sets construction variables for file and directory installation. INSTALL INSTALLSTR Installs one or more source files or directories in the specified target, which must be a directory. 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 as part of the installation. It is an error if the target and source arguments list different numbers of files or directories. env.InstallAs(target = '/usr/local/bin/foo', source = 'foo_debug') env.InstallAs(target = ['../lib/libfoo.a', '../lib/libbar.a'], source = ['libFOO.a', 'libBAR.a']) 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. If &cv-link-SHLIBVERSION; is not defined a warning will be issued and the name of the library will be parsed to derive the version. The symlinks appropriate to the architecture will be generated. env.InstallVersionedLib(target = '/usr/local/bin/foo', source = 'libxyz.1.5.2.so') env.InstallVersionedLib(target = '/usr/local/bin/foo', source = 'libxyz.1.5.2.so', SHLIBVERSION='1.5.2')