User Tools

  • Logged in as: anonymous (anonymous)
  • Log Out

Site Tools


mantisbt:docbook

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
mantisbt:docbook [2016/07/03 10:58] – [Building a DocBook Manual] Add sections to differentiate 1.3 Publican-based builds from old 1.2 builds dregadmantisbt:docbook [2016/07/03 11:26] (current) – [MantisBT 1.3 and later] added new section's contents dregad
Line 42: Line 42:
 ==== MantisBT 1.3 and later ==== ==== MantisBT 1.3 and later ====
  
 +GNU Make files are present in each DocBook's directory, allowing easy build with a single command.
  
 +To build all DocBooks in default //html-desktop// format <code>
 +cd /path/to/mantisbt/docbook
 +make
 +</code>
 +
 +To process a specific DocBook, first go to the corresponding directory, e.g. for Administrator's Guide <code>cd /path/to/mantisbt/docbook/Admin_Guide
 +</code>
 +
 +then execute the appropriate command:
 +
 +  * Build it in default (//html-desktop//) format <code>make</code>
 +  * Validate the XML files, without building the DocBook <code>make test</code>
 +  * Build a PDF <code>make pdf</code>
 +  * Clean build in all available formats <code>make clean all</code>
 +
 +This is just a few examples, refer to the [[https://github.com/jhradilek/publican-makefile|Makefile's documentation]] for further details.
 +
 +It is also possible to manually execute Publican, e.g. <code>
 +publican build --langs=en-US --formats=html-desktop,pdf
 +</code>
  
 ==== MantisBT 1.2 ==== ==== MantisBT 1.2 ====
mantisbt/docbook.1467557884.txt.gz · Last modified: 2016/07/03 10:58 by dregad

Driven by DokuWiki