« Prev 4.3.3.5 The Install Builder | Table of Contents | Next » 4.3.3.7 The Lex Builder |
env.InstallDirectory(target) # Example env.InstallDirectory("${prefix}/share")
The InstallDirectory
builder can be used to explicitly create a directory in
an installation location.
This can also disambiguate whether the target for a subsequent builder
(e.g. Install
) refers to a file path or directory path.
It functions almost identically to the Directory
builder.
The only difference relates to the clean
and uninstall
tasks.
The clean
task removes targets created by the Directory
builder but not by
the InstallDirectory
builder.
The uninstall
task removes targets created by the InstallDirectory
builder
but not by the Directory
builder.
« Prev 4.3.3.5 The Install Builder | Table of Contents | Next » 4.3.3.7 The Lex Builder |