aboutsummaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2019-08-26 13:41:39 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2019-08-26 15:53:15 +0300
commitcd431f3f8bca937d4d0ff5b165e556d719329085 (patch)
tree3decb5d2e9113498d31e5b683a07e2a6408f2c41 /build
parent5a6cad9799be32889c85ebd71c70a03fe4a2a861 (diff)
Move definitions of commonly used target types to root.build
Diffstat (limited to 'build')
-rw-r--r--build/root.build11
1 files changed, 11 insertions, 0 deletions
diff --git a/build/root.build b/build/root.build
index 2502705..ce8ca41 100644
--- a/build/root.build
+++ b/build/root.build
@@ -31,6 +31,17 @@ using bash
brep/bash{*}: install.subdirs = true
+# Define commonly used target types.
+#
+define css: file
+css{*}: extension = css
+
+define xhtml: doc
+xhtml{*}: extension = xhtml
+
+define common_testscript: file
+common_testscript{*}: extension = testscript
+
# All exe{} in tests/ are, well, tests. Also don't link whole archives
# by default there.
#