From 427066b293a6dc8f33ec666bb1c37a482892abdf Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Sun, 31 Jan 2016 12:29:19 +0200 Subject: Setup doc/ install/dist --- buildfile | 2 +- doc/buildfile | 37 +++++++++++++++++++++++++++++++++++++ 2 files changed, 38 insertions(+), 1 deletion(-) create mode 100644 doc/buildfile diff --git a/buildfile b/buildfile index eb4be9d..b5b36b7 100644 --- a/buildfile +++ b/buildfile @@ -2,7 +2,7 @@ # copyright : Copyright (c) 2014-2016 Code Synthesis Ltd # license : MIT; see accompanying LICENSE file -d = bpkg/ +d = bpkg/ doc/ ./: $d doc{INSTALL LICENSE version} file{manifest} include $d diff --git a/doc/buildfile b/doc/buildfile new file mode 100644 index 0000000..39678d6 --- /dev/null +++ b/doc/buildfile @@ -0,0 +1,37 @@ +# file : doc/buildfile +# copyright : Copyright (c) 2014-2016 Code Synthesis Ltd +# license : MIT; see accompanying LICENSE file + +cmds = \ +bpkg-cfg-add \ +bpkg-cfg-create \ +bpkg-cfg-fetch \ +bpkg-help \ +bpkg-pkg-build \ +bpkg-pkg-clean \ +bpkg-pkg-configure \ +bpkg-pkg-disfigure \ +bpkg-pkg-drop \ +bpkg-pkg-fetch \ +bpkg-pkg-install \ +bpkg-pkg-purge \ +bpkg-pkg-status \ +bpkg-pkg-test \ +bpkg-pkg-uninstall \ +bpkg-pkg-unpack \ +bpkg-pkg-update \ +bpkg-pkg-verify \ +bpkg-rep-create \ +bpkg-rep-info + +define css: file +css{*}: extension = css + +define xhtml: doc +xhtml{*}: extension = xhtml + +./: {man1 xhtml}{bpkg bpkg-common-options $cmds} \ + css{common pre-box man} \ + file{man-prologue.1 man-epilogue.1 \ + man-prologue.xhtml man-epilogue.xhtml \ + cli.sh} -- cgit v1.1