From a0950f84b17c16a93666a73252d9222fd093416b Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Sun, 29 Nov 2015 09:27:08 +0200 Subject: Add dist support --- bpkg/buildfile | 8 +++++++- build/bootstrap.build | 4 ++++ buildfile | 2 +- 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/bpkg/buildfile b/bpkg/buildfile index 41cdb66..2340443 100644 --- a/bpkg/buildfile +++ b/bpkg/buildfile @@ -4,6 +4,12 @@ import libs += libbutl%lib{butl} -lib{bpkg}: cxx{manifest-parser manifest-serializer manifest} $libs +lib{bpkg}: \ +{ hxx cxx }{ manifest } \ +{ hxx cxx }{ manifest-parser } \ +{ hxx cxx }{ manifest-serializer } \ +{ hxx }{ version } \ +$libs + cxx.poptions += -I$src_root lib{bpkg}: cxx.export.poptions = -I$src_root diff --git a/build/bootstrap.build b/build/bootstrap.build index 4c443a9..3023b45 100644 --- a/build/bootstrap.build +++ b/build/bootstrap.build @@ -3,5 +3,9 @@ # license : MIT; see accompanying LICENSE file project = libbpkg +version = 0.1.0 using config +using dist using test + +dist.package = $project-$version diff --git a/buildfile b/buildfile index b9c4507..9bd2a5b 100644 --- a/buildfile +++ b/buildfile @@ -3,5 +3,5 @@ # license : MIT; see accompanying LICENSE file d = bpkg/ tests/ -.: $d +./: $d doc{LICENSE} file{version} include $d -- cgit v1.1