diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2023-06-05 13:03:42 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2023-06-05 13:10:31 +0200 |
commit | f5be99eb78afe8da70287083384f9c122f5d8644 (patch) | |
tree | 13c359ad27d00a274293879fe865d8d21252935e | |
parent | bf4a03ac20d868b347be8174fe4edd64f77d6645 (diff) |
Don't use wildcards for subprojects to allow stray subdirectories in root
-rw-r--r-- | build/bootstrap.build | 9 | ||||
-rw-r--r-- | buildfile | 3 |
2 files changed, 10 insertions, 2 deletions
diff --git a/build/bootstrap.build b/build/bootstrap.build index 7d4dccc..183578f 100644 --- a/build/bootstrap.build +++ b/build/bootstrap.build @@ -2,8 +2,15 @@ # license : MIT; see accompanying LICENSE file project = build2-toolchain + amalgamation = # Disable amalgamation. -subprojects = {*/ -build/ -doc/ -tests/ -submodules/} + +# Note: list them (mostly) explicitly without using wildcards to handle stray +# subdirectories in the root (debian/, installation location, etc). +# +subprojects += libpkg-config/ libbutl/ build2/ libsqlite3/ libodb/ \ + libodb-sqlite/ libbpkg/ bpkg/ bdep/ +subprojects += libbuild2-*/ subprojects += tests/*/ using version @@ -19,7 +19,7 @@ build2_repo="https://stage.build2.org/1" # @@ Note that the project directories order is important (prerequisites go # first). # -# See also subprojects in bootstrap.build. +# NOTE: see also subprojects in bootstrap.build if changing anything here. # d = libpkg-config/ libbutl/ build2/ libsqlite3/ libodb/ libodb-sqlite/ \ libbpkg/ bpkg/ bdep/ doc/ libbuild2-*/ @@ -53,6 +53,7 @@ pt = '^version: (.+)$' # modules to locate all the places): # # - this buildfile +# - build/bootstrap.build (submodules; should be handled automatically) # - build scripts: build.sh.in and build-*.bat.in # - documentation: BOOTSTRAP-*.cli and UPGRADE.cli (multiple places) # - install scripts: prepare, build2-install.sh, and build2-install-*.bat |