Added syntax highligh to GObject docs (taken from CFFI manual)
[cl-gtk2.git] / doc / Makefile
index cc18d20..f3eb331 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 gobject/style.css
 
 doc.html: doc.xml
        xsltproc -o $@ /usr/share/sgml/docbook/xsl-stylesheets/html/docbook.xsl $<
@@ -9,8 +9,12 @@ tutorial.html: tutorial.xml
 index.html: doc.xml
        xsltproc /usr/share/sgml/docbook/xsl-stylesheets/html/chunk.xsl $<
 
+gobject/style.css: style.css
+       cp $< $@
+
 gobject/index.html: gobject.texi
-       makeinfo --html $<
+       makeinfo --html --css-ref=style.css $<
+       sbcl --no-sysinit --no-userinit --load colorize-lisp-examples.lisp $@
 
 gobject.pdf: gobject.texi
        pdftex $<