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
commit70984a91e9f5e0a6f1ce554025fc9fd4513fb30d (patch)
tree6615df441ac40d579348296a0b1050c3d39d98a4
parent08d7a11e0752fa1da3eb6c0165e6f0d154b63404 (diff)
Setup doc/ install/dist
-rw-r--r--buildfile6
-rw-r--r--doc/buildfile16
2 files changed, 19 insertions, 3 deletions
diff --git a/buildfile b/buildfile
index 17f8cb0..3225679 100644
--- a/buildfile
+++ b/buildfile
@@ -2,8 +2,8 @@
# copyright : Copyright (c) 2014-2016 Code Synthesis Ltd
# license : MIT; see accompanying LICENSE file
-d = libbutl/ build2/ libbpkg/ bpkg/
-./: $d doc{INSTALL version}
+d = libbutl/ build2/ libbpkg/ bpkg/ doc/
+./: $d doc{INSTALL version} file{INSTALL.cli}
include $d
-$src_base/doc{INSTALL}: install = false
+doc{INSTALL*}: install = false
diff --git a/doc/buildfile b/doc/buildfile
new file mode 100644
index 0000000..4e85906
--- /dev/null
+++ b/doc/buildfile
@@ -0,0 +1,16 @@
+# file : doc/buildfile
+# copyright : Copyright (c) 2014-2016 Code Synthesis Ltd
+# license : MIT; see accompanying LICENSE file
+
+define css: file
+css{*}: extension = css
+
+./: doc{build2-toolchain-intro.xhtml \
+ build2-toolchain-intro-a4.pdf \
+ build2-toolchain-intro-a4.ps \
+ build2-toolchain-intro-letter.pdf \
+ build2-toolchain-intro-letter.ps} \
+ css{common code-box pre-box intro} \
+ file{a4.html2ps letter.html2ps intro.html2ps} \
+ file{intro-prologue.xhtml intro-epilogue.xhtml \
+ intro.cli cli.sh}