From 91495e646c688eade6b46f21bb40e3da8b8d6f1a Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 23 Jan 2017 08:21:53 +0200 Subject: Implement automatic loading of directory buildfiles Now instead of explicitly writing: d = foo/ bar/ ./: $d include $d We can (usually) just write: ./: foo/ bar/ --- buildfile | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'buildfile') 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 -- cgit v1.1