aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-03-14 08:43:53 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-03-14 08:43:53 +0200
commit58bca989cd4f93c8f0b67b6298f47f595029cda0 (patch)
treedd24992b91a929ab83a7970ef53d5d98aee19ad5
parentdc2c25e3f3182e8181a15487de4befca74a1ffec (diff)
Use wildcard patterns in buildfiles
-rw-r--r--buildfile4
-rw-r--r--tests/buildfile8
2 files changed, 2 insertions, 10 deletions
diff --git a/buildfile b/buildfile
index 5ac9328..c63d3dd 100644
--- a/buildfile
+++ b/buildfile
@@ -2,9 +2,7 @@
# copyright : Copyright (c) 2014-2017 Code Synthesis Ltd
# license : MIT; see accompanying LICENSE file
-d = butl/ tests/
-./: $d doc{INSTALL LICENSE NEWS README version} file{manifest}
-include $d
+./: butl/ tests/ doc{INSTALL LICENSE NEWS README version} file{manifest}
# Don't install tests or the INSTALL file.
#
diff --git a/tests/buildfile b/tests/buildfile
index 6f5dd03..10e73ec 100644
--- a/tests/buildfile
+++ b/tests/buildfile
@@ -2,10 +2,4 @@
# copyright : Copyright (c) 2014-2017 Code Synthesis Ltd
# license : MIT; see accompanying LICENSE file
-d = base64/ cpfile/ dir-iterator/ fdstream/ link/ manifest-parser/ \
- manifest-serializer/ manifest-roundtrip/ pager/ path/ prefix-map/ \
- process/ sha256/ small-vector/ strcase/ timestamp/ target-triplet/ \
- wildcard/
-
-./: $d
-include $d
+./: */