File: create_html

package info (click to toggle)
genometools 1.5.9%2Bds-4
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 52,392 kB
  • ctags: 29,663
  • sloc: ansic: 346,757; ruby: 28,351; python: 4,880; sh: 3,135; makefile: 1,186; perl: 219; haskell: 37; sed: 5
file content (11 lines) | stat: -rwxr-xr-x 296 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh -e

for FILE in $1/*.mansrc;
do
  SHORTNAME=`echo $FILE | cut -f 4 -d '/' | cut -f 1 -d '.'`
  echo -n '.'
  asciidoc --backend=xhtml11 -a linkcss -a stylesdir=../ \
      -a stylesheet=style.css -a badges -a icons \
      -f $2/tool.conf -o $2/tools/$SHORTNAME.html $FILE
done
echo ''