X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=doc%2Fmake-doc.sh;h=4be93f8e7b892b53ad9b3c626de02a0e847a8b6f;hb=bed279acc9bd04eb1bbf56acb0dcaa3b1acf04f0;hp=76867e6ba11b79a426ab520b0f98c4f5f536e200;hpb=a530bbe337109d898d5b4a001fc8f1afa3b5dc39;p=sbcl.git diff --git a/doc/make-doc.sh b/doc/make-doc.sh index 76867e6..4be93f8 100644 --- a/doc/make-doc.sh +++ b/doc/make-doc.sh @@ -1,5 +1,21 @@ #!/bin/sh +if [ "" != "$JADE" ]; then + # The user has told us where to find jade, good. + echo using $JADE +elif which openjade; 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 + # I used the original Jade until sbcl-0.pre7.x. It might still + # work. -- WHN + JADE=jade +else + echo "can't find Jade, sorry" + exit 1 +fi + rm -f book1.htm -jade -t sgml -ihtml -d sbcl-html.dsl\#html user-manual.sgml +$JADE -t sgml -ihtml -d sbcl-html.dsl\#html user-manual.sgml ln -sf book1.htm user-manual.html