2 # Create docbook-xml links
4 # most things will be under this path.
5 DOCB
=/usr
/share
/sgml
/docbook
7 # potential location for xhtml/docbook.xsl
8 XSLDIRS
="$DOCB/xsl-stylesheets* $DOCB/stylesheet/xsl/nwalsh"
10 # potential location for docbookx.dtd
11 DTDDIRS
="$DOCB/xml-dtd* $DOCB/dtd/xml/*"
13 # look for a file (arg 1) in a set of dirs (arg 2). If it exists, create a link
14 # (arg 3), in the current directory to the dir.
31 echo Docbook support not found. See README. Faking it.
>&2
34 ln -sfn "$dir" "$link"
38 condlink
"xhtml/docbook.xsl" "$XSLDIRS" "link-xhtml"
39 condlink
"docbookx.dtd" "$DTDDIRS" "link-dtd"