linuxcnc/scripts/travis-build-test.sh
Petter Reinholdtsen 2de08441b8 Add build rules for po4a based documentation translation
Use 'make translateddocs' to build the translations and 'make pofiles'
to update the POT and PO files.  'make postatus' show translation
statistics.  Run 'make manpages' before updating translations to make sure
the generated manpages are available for po4a.  The translateddocs target is
now a prerequisit for the docs target, to make sure the translated files are
available when checking links in the HTML pages.

Added code to copy images into translated adoc directories.

Added po4a as new build dependency.

Require 0 translated strings to generate files, to make sure the documents are
buildable even if nothing is unfuzzied yet.

Drop translated files from docs.xml and use the same list for all languages.

This change need po4a 0.62 or newer to handle UTF-8 properly in input and
output files.  Added configure check to enforce this.
2022-06-03 15:26:30 +02:00

8 lines
332 B
Bash
Executable file

#!/bin/sh -ex
cd src
./autogen.sh
./configure --with-realtime=uspace --disable-check-runtime-deps --enable-build-documentation
make -O -j$(getconf _NPROCESSORS_ONLN) manpages V=1
make -O -j$(getconf _NPROCESSORS_ONLN) translateddocs V=1
make -O -j$(getconf _NPROCESSORS_ONLN) default pycheck V=1
../scripts/rip-environment runtests