summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2021-10-07 09:29:31 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2021-10-07 09:29:31 +0200
commit2239061347d12753a9c2804ee4498affee4d6dc4 (patch)
treeabf1d41a546099e9e315f4744f941f6db23de6af
parent2186632d3866348e5a1c1732bfdd80b6c3315ebb (diff)
Update README.md with install testing instructions
-rw-r--r--README.md17
1 files changed, 17 insertions, 0 deletions
diff --git a/README.md b/README.md
index c856fee..a58d2fc 100644
--- a/README.md
+++ b/README.md
@@ -17,3 +17,20 @@ bdep init @host -d xsd
bdep init @target -d libxsd -d libxsd-tests -d xsd-tests -d xsd-examples
```
+
+To generate the documentation in the `.ps` and `.pdf` formats, `html2ps` and
+`ps2pdf14` programs are required (the latter is from `ghostscript`). A warning
+is issued in the development mode if these programs are not available.
+
+To test installation of the XSD compiler, create a separate target
+configuration (it will automatically resolve any build-time dependencies from
+`host`):
+
+```
+bdep config create @install ../xsd-install --type target cc config.cxx=g++ \
+ config.install.root=/tmp/install
+
+bdep init @install -d xsd
+
+b install: ../xsd-install/xsd/
+```