aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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}