X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=doc%2Fmake-doc.sh;h=7acbe370236873649fe687914c72a1779705153c;hb=42bcf553ca92dd484a41c1b0c67c7450f86f17c1;hp=01f1ea5bcce0f4981ed278fc6cb1902ce72a029e;hpb=a916a69266eb866d40da1a195a133258da35b668;p=sbcl.git diff --git a/doc/make-doc.sh b/doc/make-doc.sh index 01f1ea5..7acbe37 100644 --- a/doc/make-doc.sh +++ b/doc/make-doc.sh @@ -1,25 +1,19 @@ #!/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=$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 > /dev/null; then - # I used the original Jade until sbcl-0.pre7.x. It might still - # work. -- WHN - JADE=jade +. ../find-gnumake.sh +find_gnumake + +# Where is xsltproc? +if [ "" != "$XSLTPROC" ]; then + # The user has told us where to find xsltproc, good. + echo using XSLTPROC=$XSLTPROC +elif which xsltproc > /dev/null; then + # We have found it ourselves. + XSLTPROC=xsltproc else - echo "can't find Jade, sorry" + echo "can't find xsltproc, sorry" exit 1 fi -# 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 +export XSLTPROC +$GNUMAKE html