summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2003-02-12 03:52:10 (GMT)
committerSteven Knight <knight@baldmt.com>2003-02-12 03:52:10 (GMT)
commit5bbe45c7286f8e9e6d0139e611e0763681c2dd45 (patch)
tree0b4258916ddc551ee6ee345ba2943e52f9bab38f /doc
parenta2960be7a116f6e085a1072123976b1b31b09f1b (diff)
downloadSCons-5bbe45c7286f8e9e6d0139e611e0763681c2dd45.zip
SCons-5bbe45c7286f8e9e6d0139e611e0763681c2dd45.tar.gz
SCons-5bbe45c7286f8e9e6d0139e611e0763681c2dd45.tar.bz2
Make the Install() method copy files (by default).
Diffstat (limited to 'doc')
-rw-r--r--doc/man/scons.121
1 files changed, 21 insertions, 0 deletions
diff --git a/doc/man/scons.1 b/doc/man/scons.1
index 40191bb..1bf9157 100644
--- a/doc/man/scons.1
+++ b/doc/man/scons.1
@@ -1881,6 +1881,27 @@ in the $CPPPATH and $F77PATH construction variables
when the $_CPPINCFLAGS and $_F77INCFLAGS
variables are automatically generated.
+.IP INSTALL
+A function to be called to install a file into a
+destination file name.
+The default function copies the file into the destination
+(and sets the destination file's mode and permission bits
+to match the source file's).
+The function takes the following arguments:
+
+.ES
+def install(dest, source, env):
+.EE
+.IP
+.I dest
+is the path name of the destination file.
+.I source
+is the path name of the source file.
+.I env
+is the construction environment
+(a dictionary of construction values)
+in force for this file installation.
+
.IP LATEX
The LaTeX structured formatter and typesetter.