diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2016-09-01 08:35:09 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2016-09-01 08:35:37 +0200 |
commit | 28f3f8b92fc0b90d6646712eb2304c63c7fbc80e (patch) | |
tree | 22627bed13e2ac515a957f5012494a01b34f6834 | |
parent | 3e9ecd86a6c4f1b01e446fba92369e71872b0d77 (diff) |
Build system update
-rw-r--r-- | build/.gitignore | 1 | ||||
-rw-r--r-- | build/bootstrap.build | 7 | ||||
-rw-r--r-- | build/root.build | 10 | ||||
-rw-r--r-- | buildfile | 4 | ||||
-rw-r--r-- | doc/buildfile | 6 |
5 files changed, 16 insertions, 12 deletions
diff --git a/build/.gitignore b/build/.gitignore new file mode 100644 index 0000000..225c27f --- /dev/null +++ b/build/.gitignore @@ -0,0 +1 @@ +config.build diff --git a/build/bootstrap.build b/build/bootstrap.build index dfab993..ddf9a05 100644 --- a/build/bootstrap.build +++ b/build/bootstrap.build @@ -3,13 +3,14 @@ # license : MIT; see accompanying LICENSE file project = build2-toolchain -version = 0.4.0-a1 subprojects = libbutl build2 libsqlite3 libodb libodb-sqlite libbpkg bpkg using build@0.4.0-a1 + +version = 0.4.0-a1 +dist.package = $project-$version + 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/build/root.build b/build/root.build index 927ee64..ac55324 100644 --- a/build/root.build +++ b/build/root.build @@ -2,9 +2,9 @@ # copyright : Copyright (c) 2014-2016 Code Synthesis Ltd # license : MIT; see accompanying LICENSE file -# Load common modules that are used by subproject so that they use -# common configuration. +# Load common modules that are used by subproject so that they use common +# configuration. # -using cxx -using c -using? cli +using cxx.config +using c.config +using? cli.config @@ -7,4 +7,6 @@ d = libbutl/ build2/ libsqlite3/ libodb/ libodb-sqlite/ libbpkg/ bpkg/ doc/ file{build.sh build-msvc.bat build-mingw.bat} include $d -doc{INSTALL*}: install = false +# Don't install the INSTALL file. +# +doc{INSTALL}@./: install = false diff --git a/doc/buildfile b/doc/buildfile index 84386da..fb23206 100644 --- a/doc/buildfile +++ b/doc/buildfile @@ -7,10 +7,10 @@ css{*}: extension = css ./: doc{build2-toolchain-intro.xhtml \ build2-toolchain-intro-a4.pdf \ - build2-toolchain-intro-a4.ps \ + build2-toolchain-intro-a4.ps \ build2-toolchain-intro-letter.pdf \ - build2-toolchain-intro-letter.ps} \ - css{code-box common doc pre-box toc} \ + build2-toolchain-intro-letter.ps} \ + css{code-box common doc pre-box toc} \ file{a4.html2ps letter.html2ps doc.html2ps} \ file{doc-prologue.xhtml doc-epilogue.xhtml \ intro.cli cli.sh} |