aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bpkg/buildfile4
-rw-r--r--build/bootstrap.build2
-rw-r--r--build/root.build8
3 files changed, 9 insertions, 5 deletions
diff --git a/bpkg/buildfile b/bpkg/buildfile
index 4ca2839..9b657e4 100644
--- a/bpkg/buildfile
+++ b/bpkg/buildfile
@@ -13,3 +13,7 @@ $libs
cxx.poptions += -I$src_root
lib{bpkg}: cxx.export.poptions = -I$src_root
+
+# Install into the bpkg/ subdirectory of, say, /usr/include/.
+#
+install.include = $install.include/bpkg
diff --git a/build/bootstrap.build b/build/bootstrap.build
index 3023b45..533dcc1 100644
--- a/build/bootstrap.build
+++ b/build/bootstrap.build
@@ -4,8 +4,10 @@
project = libbpkg
version = 0.1.0
+
using config
using dist
using test
+using install
dist.package = $project-$version
diff --git a/build/root.build b/build/root.build
index 4f10ff1..3cb7483 100644
--- a/build/root.build
+++ b/build/root.build
@@ -11,9 +11,7 @@ cxx.ext = cxx
cxx.std = 14
-# All exe{} in tests/ are, well, tests.
+# All exe{} in tests/ are, well, tests. Don't install them.
#
-tests/:
-{
- test.exe = true
-}
+tests/: test.exe = true
+tests/: install = false