Stub for Gtk documentation
[cl-gtk2.git] / doc / Makefile
index 8bb2372..120b32d 100644 (file)
@@ -1,4 +1,4 @@
-all: doc.html tutorial.html gobject/index.html gobject.pdf gobject/style.css
+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 $<
@@ -10,12 +10,23 @@ index.html: doc.xml
        xsltproc /usr/share/sgml/docbook/xsl-stylesheets/html/chunk.xsl $<
 
 gobject/style.css: style.css
-       cp $< $@
+       ([ -x gobject ] || mkdir gobject) && cp $< $@
 
-gobject/index.html: gobject.texi
+gobject/index.html: gobject.texi gobject/style.css
+       makeinfo --html --css-ref=style.css $<
+       sbcl --noinform --no-sysinit --no-userinit --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 --load colorize-lisp-examples.lisp $@
 
 gobject.pdf: gobject.texi
        pdftex $<
+       pdftex $<
+
+gtk.pdf: gtk.texi
+       pdftex $<
        pdftex $<
\ No newline at end of file