From 2239061347d12753a9c2804ee4498affee4d6dc4 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 7 Oct 2021 09:29:31 +0200 Subject: Update README.md with install testing instructions --- README.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) 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/ +``` -- cgit v1.1