From c8ace1ee0a6cab5fd4ea2f084ea436cfa513637d Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Thu, 13 Jul 2017 22:50:15 +0300 Subject: Make use of wildcards in buildfiles --- doc/buildfile | 23 ++++++----------------- 1 file changed, 6 insertions(+), 17 deletions(-) (limited to 'doc/buildfile') diff --git a/doc/buildfile b/doc/buildfile index c11de50..9131de2 100644 --- a/doc/buildfile +++ b/doc/buildfile @@ -2,29 +2,18 @@ # copyright : Copyright (c) 2014-2017 Code Synthesis Ltd # license : TBC; see accompanying LICENSE file -cmds = \ -bbot-agent \ -bbot-worker - define css: file css{*}: extension = css define xhtml: doc xhtml{*}: extension = xhtml -./: {man1 xhtml}{$cmds} \ - css{common pre-box man} \ - file{man-prologue.1 man-epilogue.1 \ - man-prologue.xhtml man-epilogue.xhtml} +./: {man1 xhtml}{bbot-*} \ + css{common pre-box man} \ + file{man-*} -./: doc{build2-build-bot-manual.xhtml \ - build2-build-bot-manual-a4.pdf \ - build2-build-bot-manual-a4.ps \ - build2-build-bot-manual-letter.pdf \ - build2-build-bot-manual-letter.ps} \ - css{code-box common doc pre-box toc} \ - file{a4.html2ps letter.html2ps doc.html2ps} \ - file{doc-prologue.xhtml doc-epilogue.xhtml \ - manual.cli} +./: doc{build2-build-bot-manual*} \ + css{code-box common doc pre-box toc} \ + file{manual.cli doc-* *.html2ps} ./: file{cli.sh} -- cgit v1.1