summaryrefslogtreecommitdiffstats
path: root/build.sh
blob: da6f43a72e540b668545dcf92bfaadc92a4b081c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh
# $Id$

STYLE_SHEET="/usr/share/xml/docbook/xsl-stylesheets-1.75.1/html/docbook.xsl"
if [ ! -r "$STYLE_SHEET" ] ; then
  STYLE_SHEET=$(find /usr/share/xml -name docbook.xsl | grep /html/)
  printf "\nUsing $STYLE_SHEET \n"
fi

xsltproc \
  -xinclude \
  -o book.html \
  $STYLE_SHEET \
  main.xml