aboutsummaryrefslogtreecommitdiff
path: root/buildfile
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2017-07-14 14:39:01 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2017-07-14 14:56:23 +0300
commitd9edb48752eed7d97cecc483260aab858f165f1c (patch)
tree5ecf67ccc2814b4101835c96666a9d117d305fcb /buildfile
parentf91578e1e03c3b1eece18402f610bd29dd3af2f0 (diff)
Make use of wildcards in buildfiles
Diffstat (limited to 'buildfile')
-rw-r--r--buildfile8
1 files changed, 5 insertions, 3 deletions
diff --git a/buildfile b/buildfile
index b0b2ee2..2ed54a0 100644
--- a/buildfile
+++ b/buildfile
@@ -2,6 +2,9 @@
# copyright : Copyright (c) 2014-2017 Code Synthesis Ltd
# license : MIT; see accompanying LICENSE file
+# Note that the project directories order is important (prerequisites goes
+# first).
+#
d = libbutl/ build2/ libsqlite3/ libodb/ libodb-sqlite/ libbpkg/ bpkg/ doc/
i = \
@@ -13,13 +16,12 @@ BOOTSTRAP-MSVC \
BOOTSTRAP-UNIX \
BOOTSTRAP-WINDOWS
-./: $d doc{$i README version} cli{$i} \
- file{build.sh build-msvc.bat build-mingw.bat manifest}
+./: $d doc{$i README version} cli{$i} file{build.sh build-*} file{manifest}
doc{version}: file{manifest} # Generated by the version module.
doc{version}: dist = true
# Don't install the BOOTSTRAP/INSTALL files. But UPGRADE could be useful.
#
-doc{INSTALL}@./: install = false
+doc{INSTALL}@./: install = false
doc{BOOTSTRAP-*}: install = false