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