From cd431f3f8bca937d4d0ff5b165e556d719329085 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Mon, 26 Aug 2019 13:41:39 +0300 Subject: Move definitions of commonly used target types to root.build --- build/root.build | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'build') 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. # -- cgit v1.1