From 64c68c03f31b58d3a4bfcbe615d01fbf0d9a8fde Mon Sep 17 00:00:00 2001 From: Anup Patel Date: Mon, 14 Jan 2019 11:48:38 +0530 Subject: [PATCH] top: Update top-level README.md to build/install documentation PDF This patch updates top-level README.md for steps required to build and install documentation PDF. Signed-off-by: Anup Patel --- README.md | 45 ++++++++++++++++++++++++++++++--------------- 1 file changed, 30 insertions(+), 15 deletions(-) diff --git a/README.md b/README.md index c38f543..2e45521 100644 --- a/README.md +++ b/README.md @@ -67,27 +67,21 @@ should be *`qemu/virt`*. To build *libsbi, libplatsbi, and firmwares* for a specific platform, run: ``` make PLATFORM= -``` or - -``` make PLATFORM= O= ``` To install *libsbi, headers, libplatsbi, and firmwares*, run: ``` make PLATFORM= install -``` or - -``` -make PLATFORM= I= install` +make PLATFORM= I= install ``` In addition, platform specific make command-line options to top-level make , such as *PLATFORM_* or *FW_* can also be specified. These -options are described under *docs/platform/.md* and -*docs/firmware/.md*. +options are described under *`docs/platform/.md`* and +*`docs/firmware/.md`*. Documentation ------------- @@ -95,15 +89,36 @@ Documentation A more detailed documenation is under the *docs* directory and organized as follows. -* *docs/platform_guide.md* - Guidelines for adding new platform support -* *docs/library_usage.md* - Guidelines for using the static library -* *docs/platform/.md* - Platform specific documentation for - the platform ** -* *docs/firmware/.md* - Platform specific documentation for - the firmware ** +* *`docs/contributing.md`* - Guidelines for contributing to OpenSBI project +* *`docs/platform_guide.md`* - Guidelines for adding new platform support +* *`docs/library_usage.md`* - Guidelines for using the static library +* *`docs/platform/.md`* - Documentation for the platform ** +* *`docs/firmware/.md`* - Documentation for the firmware ** The source code is also well documented. For source level documentation, doxygen style is used. Please refer to [Doxygen manual] (http://www.stack.nl/~dimitri/doxygen/manual.html) for details on this format. +The Doxygen can be installed on your debian build system using following: +``` +sudo apt-get install doxygen doxygen-latex doxygen-doc doxygen-gui graphviz +``` + +To build a consolidated `refman.pdf` of all documenation, run: +``` +make docs +or +make O= docs +``` + +**NOTE:** `refman.pdf` will be available under `/docs/latex`. + +To install a consolidated `refman.pdf` of all documenation, run: +``` +make install_docs +or +make I= install_docs +``` + +**NOTE:** `refman.pdf` will be installed under `/docs`. \ No newline at end of file -- 2.7.4