~ubuntu-core-dev/installation-guide/cosmic-proposed

« back to all changes in this revision

Viewing changes to build/buildone.sh

[ Frank Heimes ]
* More adjustments to the s390x portion of the installation guide, updated
  references to IBM documentation.
* Add a validation-only build mode.

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
    echo "$0: Generate the Debian Installer Manual in several different formats"
5
5
    echo "Usage: $0 [arch] [lang] [format]"
6
6
    echo "[format] may consist of multiple formats provided they are quoted (e.g. \"html pdf\")"
7
 
    echo "Supported formats: html, ps, pdf, txt"
 
7
    echo "Supported formats: html, ps, pdf, txt, none"
 
8
    echo "Whereas 'none' leads to a validation only, without any document generation."
8
9
    exit 0
9
10
fi
10
11
 
11
 
arch=${1:-i386}
 
12
arch=${1:-amd64}
12
13
language=${2:-en}
13
14
formats=${3:-html}
14
15
lang_id="$(echo $language | tr A-Z a-z | sed "s/_/-/")"
296
297
        ps)    create_ps;;
297
298
        pdf)   create_pdf;;
298
299
        txt)   create_text;;
 
300
        none)  echo "Info: validation only";;
299
301
        *)
300
302
            echo "Error: format $format unknown or not yet supported!" >&2
301
303
            exit 1