/documentation

Documentation for opsi.

Primary LanguageJavaScript

Documentation for opsi

This is the official documentation for the open source client management solution opsi.

Dependencies

Building the opsi manuals requires the following software to be installed on your system:

  • asciidoc >= 8.6.3
  • dblatex >= 0.3
  • aspell

Additional packages on Ubuntu

Since Ubuntu 13.04 you need the following additional packages:

  • texlive-lang-german
  • texlive-lang-english
  • texlive-lang-french
  • lmodern

See also: http://tex.stackexchange.com/questions/139700/package-babel-error-unknown-option-francais

How to build an opsi manual

Build all documents in all available languages and formats

make

Build all documents in all available languages in a specific format

Just give the format you want to build, e.g. pdf.

make pdf

Build a specific document in all available languages and formats

make opsi-getting-started

Build a specific document in all available languages in a specific format

Give the name of the document with the specific extension.

make opsi-getting-started.pdf

Build a specific document in a specific languages in a specific format

Set the LANG parameter to the wanted value. Possible values are de, en and fr.

make LANG=de opsi-getting-started.pdf

Check spelling of all documents

make spell

Clean up the build tree

make clean

Validate image paths and usage

Checks for unused images.

make check

Prepare for publication

Prepares the publication of documents with a folder-structure similar to the one found at download.uib.de. This will copy and rename the files at build so they appear in pub. As an example it will copy build\pdf\de\opsi-getting-started\opsi-getting-started.pdf to the pub directory and rename it resulting in pub\opsi-getting-started-de.pdf. Additionally it will create pub.tar. This tarball includes the structure like the pub folder. It can be copied to the desired machine and then extracted there.

make publish

Debugging

For verbose output set the enviroment variable VERBOSE to True.

VERBOSE=True make

Debug mode includes verbose but leaves temporary build files in /tmp for inspection.

VERBOSE=True make
DEBUG=True make