aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2017-07-13 14:51:49 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2017-07-13 17:21:28 +0300
commit0e7c846f7b971366ea0dc5fb81477165495bebb9 (patch)
treee12610bf2baa167ef10999e667c54e440ceab3be
parented1d2220091e88f02309c67c889bfe4fc4a705e1 (diff)
Make use of wildcards in buildfiles
-rw-r--r--buildfile4
-rw-r--r--libbbot/buildfile7
2 files changed, 3 insertions, 8 deletions
diff --git a/buildfile b/buildfile
index d5927ec..75acfdb 100644
--- a/buildfile
+++ b/buildfile
@@ -2,12 +2,12 @@
# copyright : Copyright (c) 2014-2017 Code Synthesis Ltd
# license : MIT; see accompanying LICENSE file
-./: libbbot/ tests/ doc{INSTALL LICENSE NEWS README version} file{manifest}
+./: {*/ -build/} doc{INSTALL LICENSE NEWS README version} file{manifest}
doc{version}: file{manifest} # Generated by the version module.
doc{version}: dist = true
# Don't install tests or the INSTALL file.
#
-dir{tests/}: install = false
+dir{tests/}: install = false
doc{INSTALL}@./: install = false
diff --git a/libbbot/buildfile b/libbbot/buildfile
index c143032..f1eff4c 100644
--- a/libbbot/buildfile
+++ b/libbbot/buildfile
@@ -4,12 +4,7 @@
import int_libs = libbutl%lib{butl} libbpkg%lib{bpkg}
-lib{bbot}: \
-{hxx cxx}{ build-config } \
-{hxx }{ export } \
-{hxx cxx}{ manifest } \
-{hxx }{ version } \
- $int_libs
+lib{bbot}: {hxx ixx txx cxx}{* -version} {hxx}{version} $int_libs
hxx{version}: in{version} $src_root/file{manifest}
hxx{version}: dist = true