X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=doc%2Fmake-doc.sh;h=01f1ea5bcce0f4981ed278fc6cb1902ce72a029e;hb=a0a413499415738d23cc40baa44e9c404af54a94;hp=4be93f8e7b892b53ad9b3c626de02a0e847a8b6f;hpb=89df0fb4a1d8f2b799933ce4ca5be713512f0923;p=sbcl.git diff --git a/doc/make-doc.sh b/doc/make-doc.sh index 4be93f8..01f1ea5 100644 --- a/doc/make-doc.sh +++ b/doc/make-doc.sh @@ -1,13 +1,15 @@ #!/bin/sh +# Where is Jade? (i.e. James Clark's implementation of DSSSL, or +# something offsprung) if [ "" != "$JADE" ]; then # The user has told us where to find jade, good. - echo using $JADE -elif which openjade; then + echo using JADE=$JADE +elif which openjade > /dev/null; then # OpenJade is the version of Jade which comes with OpenBSD 2.9, # and I started using it in sbcl-0.pre7.x. -- WHN JADE=openjade -elif which jade; then +elif which jade > /dev/null; then # I used the original Jade until sbcl-0.pre7.x. It might still # work. -- WHN JADE=jade @@ -16,6 +18,8 @@ else exit 1 fi -rm -f book1.htm +# Our hacked sbcl-html.dsl directs HTML output to html/. Make a clean slate. +rm -rf html +mkdir html + $JADE -t sgml -ihtml -d sbcl-html.dsl\#html user-manual.sgml -ln -sf book1.htm user-manual.html