Added --disable-debugger to sbcl invokation for html colorization
[cl-gtk2.git] / doc / Makefile
index 5d7deb7..180ba06 100644 (file)
@@ -1,4 +1,4 @@
-all: doc.html tutorial.html gobject/index.html gobject.pdf
+all: doc.html tutorial.html gobject/index.html gobject.pdf gtk/index.html gtk.pdf
 
 doc.html: doc.xml
        xsltproc -o $@ /usr/share/sgml/docbook/xsl-stylesheets/html/docbook.xsl $<
@@ -9,8 +9,24 @@ tutorial.html: tutorial.xml
 index.html: doc.xml
        xsltproc /usr/share/sgml/docbook/xsl-stylesheets/html/chunk.xsl $<
 
-gobject/index.html: gobject.texi
-       makeinfo --html $<
+gobject/style.css: style.css
+       ([ -x gobject ] || mkdir gobject) && cp $< $@
+
+gobject/index.html: gobject.texi gobject/style.css
+       makeinfo --html --css-ref=style.css $<
+       sbcl --noinform --no-sysinit --no-userinit --disable-debugger --load colorize-lisp-examples.lisp $@
+
+gtk/style.css: style.css
+       ([ -x gtk ] || mkdir gtk) && cp $< $@
+
+gtk/index.html: gtk.texi gtk/style.css
+       makeinfo --html --css-ref=style.css $<
+       sbcl --noinform --no-sysinit --no-userinit --disable-debugger --load colorize-lisp-examples.lisp $@
 
 gobject.pdf: gobject.texi
+       pdftex $<
+       pdftex $<
+
+gtk.pdf: gtk.texi
+       pdftex $<
        pdftex $<
\ No newline at end of file