diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2021-10-07 09:29:31 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2021-10-07 09:29:31 +0200 |
commit | 2239061347d12753a9c2804ee4498affee4d6dc4 (patch) | |
tree | abf1d41a546099e9e315f4744f941f6db23de6af | |
parent | 2186632d3866348e5a1c1732bfdd80b6c3315ebb (diff) |
Update README.md with install testing instructions
-rw-r--r-- | README.md | 17 |
1 files changed, 17 insertions, 0 deletions
@@ -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/ +``` |