X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=doc%2FMakefile;h=c326f2339b1abe722aab30e33925163b2c95cf59;hb=fd0b6351a8e276fe4c11cec728ff105b9cab9520;hp=4209300850a8863b9fc69ae4ebaa53915d3a363c;hpb=aa47f9014030e48c4e56210ba950c2dbb3a63031;p=cl-gtk2.git diff --git a/doc/Makefile b/doc/Makefile index 4209300..c326f23 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -1,4 +1,4 @@ -all: doc.html index.html tutorial.html +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 $< @@ -7,4 +7,31 @@ tutorial.html: tutorial.xml xsltproc -o $@ /usr/share/sgml/docbook/xsl-stylesheets/html/docbook.xsl $< index.html: doc.xml - xsltproc /usr/share/sgml/docbook/xsl-stylesheets/html/chunk.xsl $< \ No newline at end of file + xsltproc /usr/share/sgml/docbook/xsl-stylesheets/html/chunk.xsl $< + +gobject/style.css: style.css + ([ -x gobject ] || mkdir gobject) && cp $< $@ + +gobject/index.html: gobject.texi gobject.ref.texi gobject/style.css + makeinfo --html --css-ref=style.css $< + sbcl --noinform --no-sysinit --no-userinit --disable-debugger --load colorize-lisp-examples.lisp $@ + ./fix-tex-references.sh gobject + +gtk/style.css: style.css + ([ -x gtk ] || mkdir gtk) && cp $< $@ + +gtk/index.html: gtk.texi gtk.ref.texi gdk.ref.texi gobject.ref.texi glib.ref.texi gtk/style.css + makeinfo --html --css-ref=style.css $< + sbcl --noinform --no-sysinit --no-userinit --disable-debugger --load colorize-lisp-examples.lisp $@ + ./fix-tex-references.sh gtk + +#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