aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--build/bootstrap.build2
-rw-r--r--build/root.build8
-rw-r--r--buildfile2
3 files changed, 7 insertions, 5 deletions
diff --git a/build/bootstrap.build b/build/bootstrap.build
index 9d71e6a..414549d 100644
--- a/build/bootstrap.build
+++ b/build/bootstrap.build
@@ -5,8 +5,10 @@
project = build2
version = 0.1.0
subprojects = # No subprojects.
+
using config
using dist
using test
+using install
dist.package = $project-$version
diff --git a/build/root.build b/build/root.build
index 1afbe80..1be6cb7 100644
--- a/build/root.build
+++ b/build/root.build
@@ -12,9 +12,7 @@ cxx.ext = cxx
cxx.std = 14
cxx.poptions += -I$src_root
-# 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
diff --git a/buildfile b/buildfile
index 87158a7..b5acde9 100644
--- a/buildfile
+++ b/buildfile
@@ -5,3 +5,5 @@
d = build/ tests/
./: $d doc{INSTALL LICENSE} file{bootstrap version}
include $d
+
+doc{INSTALL}: install = false