0.8.6.1:
[sbcl.git] / doc / make-doc.sh
index 01f1ea5..53e27bc 100644 (file)
@@ -1,25 +1,20 @@
 #!/bin/sh
 
-# Where is Jade? (i.e. James Clark's implementation of DSSSL, or
-# something offsprung)
-if [ "" != "$JADE" ]; then
+. ../find-gnumake.sh
+find_gnumake
+
+# Where is xsltproc? 
+if [ "" != "$XSLTPROC" ]; 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, 
+    echo using XSLTPROC=$XSLTPROC
+elif which xsltproc > /dev/null; then
+    # Openxsltproc is the version of xsltproc 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
+    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