This is the official documentation for the open source client management solution opsi.
Building the opsi manuals requires the following software to be installed on your system:
- asciidoc >= 8.6.3
- dblatex >= 0.3
- aspell
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
make
Just give the format you want to build, e.g. pdf
.
make pdf
make opsi-getting-started
Give the name of the document with the specific extension.
make opsi-getting-started.pdf
Set the LANG
parameter to the wanted value.
Possible values are de
, en
and fr
.
make LANG=de opsi-getting-started.pdf
make -f tools/slide.mk LANG=de slide-test.html
needed packages: apt install source-highlight apt install python-pygment
make spell
make clean
Checks for unused images.
make check
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
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
With tools/check_links.py
exists a script that scans build documentation for broken links.
This script requires Python 3 to be able to run.
To use this script first build the documentation and then run the script. It will show what links are broken and in case there are links that can not be opened a non-zero exit-code will be returned.