From 0e7c846f7b971366ea0dc5fb81477165495bebb9 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Thu, 13 Jul 2017 14:51:49 +0300 Subject: Make use of wildcards in buildfiles --- buildfile | 4 ++-- libbbot/buildfile | 7 +------ 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 -- cgit v1.1