aboutsummaryrefslogtreecommitdiff
path: root/build2/install/init.cxx
AgeCommit message (Collapse)AuthorFilesLines
2019-07-05Move config, dist, test, and install modules into libraryKaren Arutyunov1-303/+0
2019-07-01Split build system into library and driverBoris Kolpackov1-6/+6
2019-06-19Improve diagnosticsBoris Kolpackov1-1/+1
2019-03-07Move bunch of root scope-only data members to root_extraBoris Kolpackov1-5/+5
2019-01-16Update copyright yearKaren Arutyunov1-1/+1
2018-07-30Make project variable to be of project_name typeKaren Arutyunov1-1/+1
2018-06-09Handle fsdir{} prerequsites during installationBoris Kolpackov1-0/+4
2018-05-19Update copyright yearKaren Arutyunov1-1/+1
2018-02-07Add support for update-for-{test,install} operation aliasesBoris Kolpackov1-3/+4
2018-02-05Fix test and install rules to handle see-through groups correctlyBoris Kolpackov1-6/+14
2018-02-03Get rid of action rule override semanticsBoris Kolpackov1-1/+1
Instead we now have two more or less separate match states for outer and inner parts of an action.
2018-01-04Load config.build in init(), not boot()Boris Kolpackov1-1/+3
We now make sure the config module is init'ed first.
2017-12-13Implement info meta operationBoris Kolpackov1-2/+2
This meta operation can be used to print basic information (name, version, source/output roots, etc) for one or more projects.
2017-09-11Add ability to pass scope to buildfile functions, add $install.resolve()Boris Kolpackov1-1/+10
2017-08-13Implement support for chroot'ed install (aka DESTDIR)Boris Kolpackov1-5/+20
For example: b config.install.root=/usr config.install.chroot=/tmp/install The difference between doing just config.install.root=/tmp/install/usr is that everything is installed "as if" into /usr. So, for example, pkg-config files will contain -I/usr/include, -L/usr/lib, etc.
2017-07-31Experimental (and probably broken) pkg-config generation supportBoris Kolpackov1-4/+6
2017-07-29Implement "see through" installation semantics for utility librariesBoris Kolpackov1-7/+9
2017-05-01Add hxx extension for headersKaren Arutyunov1-10/+10
2017-02-13Implement pattern-based variable typing, tighten variable type updateBoris Kolpackov1-1/+1
2017-02-13Add model mutex, make var_pool const by defaultBoris Kolpackov1-31/+35
2017-01-23Make rules const throughoutBoris Kolpackov1-2/+2
2017-01-12Implement support for narrowing down tests (config.test)Boris Kolpackov1-6/+6
2017-01-05Update copyright yearBoris Kolpackov1-1/+1
2016-12-16Move exe{} to build2 core, add fallback extensions (existing files)Boris Kolpackov1-0/+1
2016-08-30Add support for target visibility, use for dist, test, installBoris Kolpackov1-4/+3
This means we can no longer write: install = false Now it should be: *: install = false
2016-08-30Add support for install.subdirs so can be specified for scopeBoris Kolpackov1-2/+4
2016-08-30Remove backwards-compatibility kludgesBoris Kolpackov1-1/+1
2016-08-23Add support for installing into a different file nameBoris Kolpackov1-1/+7
Now the install variable is a path, not dir_path. If it is a directory (ends with a trailing slash), then the target is installed into this directory with the same name. Otherwise, the entire path is used as the installation destination.
2016-08-19Implement uninstall operationBoris Kolpackov1-4/+8
2016-08-18Lighten up config.install.* output in config.buildBoris Kolpackov1-3/+6
Now we omit non-global NULL values for cmd, options, mode, dir_mode, and sudo.
2016-08-18Add global config.install.{cmd,options,sudo,mode,dir_mode}Boris Kolpackov1-8/+30
This way we can do: b install \ config.install.data_root=/tmp/data \ config.install.exec_root=/tmp/exec \ config.install.sudo=sudo
2016-08-12Rename module to initBoris Kolpackov1-0/+219