X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=doc%2FMakefile;h=bf4e3d10055763e5e7df66a22b83d6f312d60f38;hb=abf0a60a3ad24f0241af6cc94f8cb1d39f3b727a;hp=5d7deb7bd5c7a0ed9b708593268718d03ef14fa3;hpb=4fe3ad0945eaeb3f3d428120bf5f8c5999bd0352;p=cl-gtk2.git diff --git a/doc/Makefile b/doc/Makefile index 5d7deb7..bf4e3d1 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -1,4 +1,4 @@ -all: doc.html tutorial.html gobject/index.html gobject.pdf +all: doc.html tutorial.html gobject/index.html gtk/index.html doc.html: doc.xml xsltproc -o $@ /usr/share/sgml/docbook/xsl-stylesheets/html/docbook.xsl $< @@ -9,8 +9,27 @@ 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.ref.texi gdk.ref.texi gobject.ref.texi gtk/style.css + makeinfo --html --css-ref=style.css $< + #sbcl --noinform --no-sysinit --no-userinit --disable-debugger --load colorize-lisp-examples.lisp $@ + +#gtk.ref.texi gdk.ref.texi gobject.ref.texi: introspection.lisp +# sbcl --noinfo --no-sysinit --no-user-init --disable-debugger --eval "(asdf:oos 'asdf:load-op :cl-gtk2-gtk)" --load "introspection.lisp" --eval '(gtk-doc-introspection:generate-texinfo-for-packages *default-pathname-defaults* (list :gdk :gobject :gtk))' gobject.pdf: gobject.texi + pdftex $< + pdftex $< + +gtk.pdf: gtk.texi + pdftex $< pdftex $< \ No newline at end of file