X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=doc%2FMakefile;h=5cafddefcf33fa9507e763b6535698502050e824;hb=a3a7927335e489ac03f5bc094e7e2c89afa178b5;hp=cc18d20ac774c954549fa92ce508d72ec66370e0;hpb=ef44157a6d6891c7178a893d3db14107b6e7adfd;p=cl-gtk2.git diff --git a/doc/Makefile b/doc/Makefile index cc18d20..5cafdde 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -1,4 +1,11 @@ -all: doc.html tutorial.html gobject/index.html gobject.pdf +all: doc.html tutorial.html gobject/index.html gtk/index.html gobject/style.css gtk/style.css + +.PHONY: all archive + +archive: manual.tar.bz2 + +manual.tar.bz2: gtk/index.html gtk/style.css + tar cjf $@ gtk doc.html: doc.xml xsltproc -o $@ /usr/share/sgml/docbook/xsl-stylesheets/html/docbook.xsl $< @@ -9,9 +16,31 @@ 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.ref.texi + 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 gdk.enums.texi \ +gtk.flags.texi gtk.objects.texi gdk.flags.texi gdk.structs.texi gtk.interfaces.texi gtk.widgets.texi gdk.objects.texi \ + gtk.enums.texi gtk.main_loop.texi gtk.structs.texi + 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