#!/bin/sh

OUTDIR=/mnt/www/Wireless-AP-from-laptop-HOWTO/


#mkdir $OUTDIR/html
#mkdir $OUTDIR/html.1p
#mkdir $OUTDIR/pdf
#mkdir $OUTDIR/ps
#mkdir $OUTDIR/txt


docbook2ps Wireless-AP-from-laptop-HOWTO.eps.xml -o ps/
ps2pdf ps/Wireless-AP-from-laptop-HOWTO.eps.ps ps/Wireless-AP-from-laptop-HOWTO.pdf

docbook2txt Wireless-AP-from-laptop-HOWTO.xml -o txt/
docbook2pdf Wireless-AP-from-laptop-HOWTO.xml -o pdf/
docbook2html Wireless-AP-from-laptop-HOWTO.xml -o html/
docbook2html Wireless-AP-from-laptop-HOWTO.xml -u -o html.1p/


tar czvf $OUTDIR/Wireless-AP-from-laptop-HOWTO.tar.gz .
tar cjvf $OUTDIR/Wireless-AP-from-laptop-HOWTO.tar.bz2 .


cp -r . $OUTDIR
cp *.jpg $OUTDIR/html
cp *.jpg $OUTDIR/html.1p








