Add gdk-add-client-message-filter
[cl-gtk2.git] / doc / Makefile
blob6f71c9b5682eb302c9bb882ace83869fcabf458d
1 all: doc.html tutorial.html gobject/index.html gtk/index.html gobject/style.css gtk/style.css gtk/let-ui.png gtk/let-ui-glext.png
3 .PHONY: all archive publish
5 publish: archive
6 scp manual.tar.bz2 kdmitry@common-lisp.net:/project/cl-gtk2/manual.tar.bz2
7 ssh kdmitry@common-lisp.net 'cd /project/cl-gtk2/public_html/doc/ && rm -rf gobject gtk && tar xf /project/cl-gtk2/manual.tar.bz2'
9 archive: manual.tar.bz2
11 manual.tar.bz2: gtk/index.html gtk/style.css gobject/index.html gobject/style.css
12 tar cjf $@ gtk gobject
14 doc.html: doc.xml
15 xsltproc -o $@ /usr/share/sgml/docbook/xsl-stylesheets/html/docbook.xsl $<
17 tutorial.html: tutorial.xml
18 xsltproc -o $@ /usr/share/sgml/docbook/xsl-stylesheets/html/docbook.xsl $<
20 index.html: doc.xml
21 xsltproc /usr/share/sgml/docbook/xsl-stylesheets/html/chunk.xsl $<
23 gobject/style.css: style.css
24 ([ -x gobject ] || mkdir gobject) && cp $< $@
26 gobject/index.html: gobject.texi gobject.ref.texi
27 makeinfo --html --css-ref=style.css $<
28 sbcl --noinform --no-sysinit --no-userinit --disable-debugger --load colorize-lisp-examples.lisp $@
29 ./fix-tex-references.sh gobject
31 gtk/style.css: style.css
32 ([ -x gtk ] || mkdir gtk) && cp $< $@
34 gtk/let-ui.png: let-ui.png
35 cp $< $@
37 gtk/let-ui-glext.png: let-ui-glext.png
38 cp $< $@
40 gtk/index.html: gtk.texi gtk.ref.texi gdk.ref.texi gobject.ref.texi glib.ref.texi gdk.enums.texi \
41 gtk.flags.texi gtk.objects.texi gdk.flags.texi gdk.structs.texi gtk.interfaces.texi gtk.widgets.texi gdk.objects.texi \
42 gtk.enums.texi gtk.main_loop.texi gtk.structs.texi
43 makeinfo --html --css-ref=style.css $<
44 #sbcl --noinform --no-sysinit --no-userinit --disable-debugger --load colorize-lisp-examples.lisp $@
45 ./fix-tex-references.sh gtk
47 #gtk.ref.texi gdk.ref.texi gobject.ref.texi: introspection.lisp
48 # 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))'
50 gobject.pdf: gobject.texi
51 pdftex $<
52 pdftex $<
54 gtk.pdf: gtk.texi
55 pdftex $<
56 pdftex $<