diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2015-12-01 09:51:15 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2015-12-01 09:51:15 +0200 |
commit | eace57190b5577197ea802146e75a4c81a2a5a6e (patch) | |
tree | 457b6c4684571d6f5d87a9ce44775e6a2c02daa1 | |
parent | 7d3a98b7cdb61ce269ae5b24d4582d93bf69aa35 (diff) |
Add install support
-rw-r--r-- | INSTALL | 12 | ||||
-rw-r--r-- | build/bootstrap.build | 1 | ||||
-rw-r--r-- | buildfile | 4 |
3 files changed, 16 insertions, 1 deletions
@@ -0,0 +1,12 @@ +1. Bootstrap build2 + +$ cd build2/ +$ ./bootstrap +$ ./build/b-boot update + +2. Configure and build the rest: + +$ cd ../ # back to build2-toolchains +$ ./build2/build/b configure update [test] + +config.install=/tmp/install diff --git a/build/bootstrap.build b/build/bootstrap.build index 4e7f0b7..7114ff8 100644 --- a/build/bootstrap.build +++ b/build/bootstrap.build @@ -9,5 +9,6 @@ subprojects = libbutl build2 libbpkg bpkg using config using dist using test # Note: needed for dist to work in subprojects with tests. +using install dist.package = $project-$version @@ -3,5 +3,7 @@ # license : MIT; see accompanying LICENSE file d = libbutl/ build2/ libbpkg/ bpkg/ -./: $d file{version} +./: $d doc{INSTALL} file{version} include $d + +$src_base/doc{INSTALL}: install = false |