aboutsummaryrefslogtreecommitdiff
path: root/build/root.build
diff options
context:
space:
mode:
Diffstat (limited to 'build/root.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.
#