aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bpkg/buildfile8
-rw-r--r--build/bootstrap.build4
-rw-r--r--buildfile2
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