3 ADMON_GRAPHICS
=/usr
/share
/sgml
/docbook
/dsssl-stylesheets
/images
/*.gif
5 output
=docbook2html-dir
17 -h|
--help|
-v|
--version) break
19 -n|
--nostd|
-u|
--nochunks) ;;
20 -o|
--output) outputdone
=1
26 if [ ${outputdone} -eq 1 ];
28 output
="$(echo $arg | sed 's,\.sgml$,,;s,\.sgm$,,;s,\.xml,,')"
29 outputfile
="$basename "$output""
31 elif [ ${outputdone} -eq 2 ];
33 outputfile
="$(echo $arg | sed 's,\.sgml$,,;s,\.sgm$,,;s,\.xml,,' | \
34 rev | cut -d'/' -f1 | rev)"
36 output
="$(echo $arg | sed 's,\.sgml$,,;s,\.sgm$,,;s,\.xml,,')"
37 outputfile
=$
(basename "$output")
43 if [ ${dbdircleanup} -eq 0 ];
45 echo "Output is $output/$outputfile.html"
50 mv ${output} ${output}.junk
53 mkdir
${output}/stylesheet-images
54 cp ${ADMON_GRAPHICS} ${output}/stylesheet-images
55 jw
-f docbook
-b html
-o ${output} "$@"
56 if [ ${dbdircleanup} -eq 1 ];