diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2020-11-04 11:34:21 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2020-11-04 11:34:21 +0200 |
commit | bbb864455ac8d10a0e9a011bf79ac6d62515ad65 (patch) | |
tree | 73688f93fe1f6bdf086826f0f1ffade69d1c493e | |
parent | e5ca7841c94d9e31f6ab28c19eb24017c06d3d5e (diff) |
Fix buildfile
-rw-r--r-- | buildfile | 24 |
1 files changed, 15 insertions, 9 deletions
@@ -1,7 +1,9 @@ # file : buildfile # license : MIT; see accompanying LICENSE file -assert ($build.meta_operation == 'dist') 'only dist meta-operation allowed' +assert ($build.meta_operation == 'dist' || \ + $build.meta_operation == 'configure' || \ + $build.meta_operation == 'disfigure') 'only dist and configure supported' # Package repository URL (or path). # @@ -9,6 +11,14 @@ build2_repo="https://stage.build2.org/1" # build2_repo="https://pkg.cppget.org/1/queue/alpha" # build2_repo="https://pkg.cppget.org/1/alpha" +# @@ Note that the project directories order is important (prerequisites go +# first). +# +# See also subprojects in bootstrap.build. +# +d = libpkgconf/ libbutl/ build2/ libsqlite3/ libodb/ libodb-sqlite/ \ +libbpkg/ bpkg/ bdep/ doc/ libbuild2-*/ tests/*/ + i = \ INSTALL \ UPGRADE \ @@ -19,16 +29,12 @@ BOOTSTRAP-WINDOWS-MSVC \ BOOTSTRAP-WINDOWS-CLANG \ BOOTSTRAP-WINDOWS-MINGW -# Note: see also subprojects in bootstrap.build. -# -./: {*/ -build/ -tests/ -submodules/} \ - doc{$i README} \ - legal{LICENSE AUTHORS} \ - cli{$i} \ +./: $d \ + doc{$i README tests/README} \ + legal{LICENSE AUTHORS} \ + cli{$i} \ manifest -./: tests/*/ tests/doc{README} - # Obtain the build2, bpkg, bdep, and toolchain versions. # bp = $recall($build.path) |