summaryrefslogtreecommitdiff
path: root/format/docbook/pcl
blob: a7889b122cb9ad0e416a5fc5fa551eab4bd150bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
case "$1" in
stylesheet)
  if [ "$VERBOSE" -ge 1 ]
  then
    echo >&2 "Convert to XSL-FO"
  fi
  echo "http://docbook.sourceforge.net/release/xsl/current/fo/docbook.xsl"
  ;;
post-process)
  EXT=$(basename "$0")
  if [ "$VERBOSE" -ge 1 ]
  then
    echo >&2 "Convert to ${EXT}"
  fi
  # Get the FO format script to do the rest
  sh "$(dirname "$0")/../fo/${EXT}" "$1"
  ;;
esac