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
commit2f8e65145904b4672870a856aa6a52f906dad930 (patch)
treef61f2944afabe177c4eb1a9658eb327eb536e099
parentd1152d118ee1488f238c0583d7106cce50a9586f (diff)
Setup doc/ install/dist
-rw-r--r--buildfile2
-rw-r--r--doc/buildfile15
2 files changed, 16 insertions, 1 deletions
diff --git a/buildfile b/buildfile
index dbf0e1d..9c928bc 100644
--- a/buildfile
+++ b/buildfile
@@ -2,7 +2,7 @@
# copyright : Copyright (c) 2014-2016 Code Synthesis Ltd
# license : MIT; see accompanying LICENSE file
-d = build2/ tests/
+d = build2/ tests/ doc/
./: $d doc{INSTALL LICENSE version} file{INSTALL.cli bootstrap manifest}
include $d
diff --git a/doc/buildfile b/doc/buildfile
new file mode 100644
index 0000000..034e3a9
--- /dev/null
+++ b/doc/buildfile
@@ -0,0 +1,15 @@
+# file : doc/buildfile
+# copyright : Copyright (c) 2014-2016 Code Synthesis Ltd
+# license : MIT; see accompanying LICENSE file
+
+define css: file
+css{*}: extension = css
+
+define xhtml: doc
+xhtml{*}: extension = xhtml
+
+./: {man1 xhtml}{b} \
+ css{common pre-box man} \
+ file{man-prologue.1 man-epilogue.1 \
+ man-prologue.xhtml man-epilogue.xhtml \
+ cli.sh}