aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-01-31 12:29:19 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-01-31 12:29:19 +0200
commit427066b293a6dc8f33ec666bb1c37a482892abdf (patch)
treefb45a78b8ffae09507e7949c6dce8d3d7208f8f5
parent2c5439e096e38d1a82fcdb9746842c7f15874b4e (diff)
Setup doc/ install/dist
-rw-r--r--buildfile2
-rw-r--r--doc/buildfile37
2 files changed, 38 insertions, 1 deletions
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}