File: generate

package info (click to toggle)
ale 0.9.0.3-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 7,260 kB
  • sloc: cpp: 21,826; sh: 10,106; xml: 4,129; ansic: 2,343; makefile: 565; perl: 454; exp: 319
file content (9 lines) | stat: -rwxr-xr-x 253 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
ROOT=""
VERSION=""

[ -z "$1" ] || ROOT="-a ale-root=$1"
[ -z "$2" ] || VERSION="-a version=$2"

[ -z "$ROOT" ] && echo "No root specified." && exit 1

find web/. -name index.txt | xargs -r -n 1 asciidoc $ROOT $VERSION -f web/footer-html.txt -b xhtml11