aboutsummaryrefslogtreecommitdiff
path: root/buildfile
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-01-23 08:21:53 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-01-23 08:21:53 +0200
commit91495e646c688eade6b46f21bb40e3da8b8d6f1a (patch)
tree6cfafe23d2ca8a3d2c889961c8df0fffc128c4f7 /buildfile
parent699e3bc87d1cbb3c2b19ddaf5db37909cb49f47b (diff)
Implement automatic loading of directory buildfiles
Now instead of explicitly writing: d = foo/ bar/ ./: $d include $d We can (usually) just write: ./: foo/ bar/
Diffstat (limited to 'buildfile')
-rw-r--r--buildfile6
1 files changed, 1 insertions, 5 deletions
diff --git a/buildfile b/buildfile
index 54cd0ff..8f52e29 100644
--- a/buildfile
+++ b/buildfile
@@ -2,15 +2,11 @@
# copyright : Copyright (c) 2014-2017 Code Synthesis Ltd
# license : MIT; see accompanying LICENSE file
-d = build2/ tests/ unit-tests/ doc/
-
-./: $d \
+./: build2/ tests/ unit-tests/ doc/ \
doc{INSTALL LICENSE NEWS README version} \
file{bootstrap.sh bootstrap-msvc.bat bootstrap-mingw.bat} \
file{INSTALL.cli config.guess config.sub manifest}
-include $d
-
# Don't install tests or the INSTALL file.
#
dir{tests/}: install = false