2016-11-30 00:30:52 +01:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
# Run from within docs/.
|
|
|
|
ROOT_DIR="/home/sofus/subhome/src/convmlv"
|
|
|
|
DDIR="$ROOT_DIR/docs"
|
|
|
|
|
|
|
|
$ROOT_DIR/convmlv.sh -h | sed -r "s/\x1B\[([0-9]{1,2}(;[0-9]{1,2})?)?[mGK]//g" > $DDIR/MANPAGE
|
2016-11-30 06:40:52 +01:00
|
|
|
pdflatex $DDIR/docs.tex #> /dev/null
|
|
|
|
pdflatex $DDIR/docs.tex #> /dev/null #Compile twice to get TOC to show.
|
2016-11-30 00:30:52 +01:00
|
|
|
rm -f $DDIR/docs.aux $DDIR/docs.log $DDIR/docs.out $DDIR/docs.toc $DDIR/texput.log > /dev/null
|