aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/install/init.cxx
AgeCommit message (Collapse)AuthorFilesLines
2020-06-30Add support for <var>-substitutions in config.install.* valuesBoris Kolpackov1-8/+66
For now, the only recognized variable name is <project> which is substituted with the project name. This can be used along these lines: $ b config.install.libexec='exec_root/lib/<project>/' install
2020-06-29Add config.install.share variableBoris Kolpackov1-4/+6
Its default value is data_root/share/ and it is now used as a common root for config.install.{data,doc,man} variables.
2020-06-29Add legal{} target type and config.install.legal variableBoris Kolpackov1-10/+14
This allows separation of legal files (LICENSE, AUTHORS, etc) from other documentation. For example: ./: ... doc{README} legal{LICENSE} $ b install ... config.install.legal=/usr/share/licenses/hello/
2020-03-31Switch to project variable visibility by defaultBoris Kolpackov1-12/+6
2020-03-17Rework config::{omitted,required,optional}() into unified config_lookup()Boris Kolpackov1-5/+9
2020-02-07Drop copyright notice from source codeKaren Arutyunov1-1/+0
2020-01-29Rename module_base to module, redo module boot/init argument passingBoris Kolpackov1-5/+2
2020-01-28Use scope::var_pool()Boris Kolpackov1-17/+16
2020-01-28Use scope::insert_rule()Boris Kolpackov1-10/+8
2019-11-04Add $config.export() functionBoris Kolpackov1-4/+3
This is similar to the config.export variable functionality except it can be called from within buildfiles. Note that this function can only be used during configure unless the config module creation was forced for other meta-operations with config.module=true in bootstrap.build.
2019-08-26Add support for for_install prerequisite-specific var in link ruleBoris Kolpackov1-0/+1
Also reserve for_test.
2019-08-23Introduce notion of build contextBoris Kolpackov1-7/+10
All non-const global state is now in class context and we can now have multiple independent builds going on at the same time.
2019-07-24Move in build system module to separate libraryBoris Kolpackov1-2/+8
2019-07-05Move config, dist, test, and install modules into libraryKaren Arutyunov1-0/+309