File: build-html

package info (click to toggle)
debian-handbook 11.20220922
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 152,440 kB
  • sloc: xml: 32,387; sh: 241; makefile: 62; perl: 54; python: 26
file content (18 lines) | stat: -rwxr-xr-x 385 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh

set -e

. $(dirname $0)/common.sh

check_cwd

version=$(get_product_version)
OPT_lang="en-US"
parse_options "$@"

if publican build --publish --brand_dir=brand --formats=html --langs=$OPT_lang $OPT_opts; then
    echo "SUCCESS: publish/$OPT_lang/Debian/$version/html/debian-handbook/index.html"
else
    echo "ERROR: failed to build HTML output for $OPT_lang"
    exit 1
fi