aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--INSTALL12
-rw-r--r--build/bootstrap.build1
-rw-r--r--buildfile4
3 files changed, 16 insertions, 1 deletions
diff --git a/INSTALL b/INSTALL
new file mode 100644
index 0000000..6af2214
--- /dev/null
+++ b/INSTALL
@@ -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
diff --git a/buildfile b/buildfile
index 878d03c..715f3ec 100644
--- a/buildfile
+++ b/buildfile
@@ -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