summaryrefslogtreecommitdiffstats
path: root/build.sh
blob: d02b93c454bf88712631242bc2877972790b35cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh
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