X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=doc%2FMakefile;h=6f71c9b5682eb302c9bb882ace83869fcabf458d;hb=0ce3b369dfbc04edeffdc8f0d2d85ccffcc467ec;hp=dd305af0a4551730da6e2c6c1aa50d54aaee4562;hpb=19a35e5b220d152a8134f66480bc01016cc8802c;p=cl-gtk2.git diff --git a/doc/Makefile b/doc/Makefile index dd305af..6f71c9b 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -1,4 +1,15 @@ -all: doc.html tutorial.html gobject/index.html gtk/index.html +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 + +.PHONY: all archive publish + +publish: archive + scp manual.tar.bz2 kdmitry@common-lisp.net:/project/cl-gtk2/manual.tar.bz2 + ssh kdmitry@common-lisp.net 'cd /project/cl-gtk2/public_html/doc/ && rm -rf gobject gtk && tar xf /project/cl-gtk2/manual.tar.bz2' + +archive: manual.tar.bz2 + +manual.tar.bz2: gtk/index.html gtk/style.css gobject/index.html gobject/style.css + tar cjf $@ gtk gobject doc.html: doc.xml xsltproc -o $@ /usr/share/sgml/docbook/xsl-stylesheets/html/docbook.xsl $< @@ -12,16 +23,26 @@ index.html: doc.xml gobject/style.css: style.css ([ -x gobject ] || mkdir gobject) && cp $< $@ -gobject/index.html: gobject.texi gobject.ref.texi gobject/style.css +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 gtk/style.css +gtk/let-ui.png: let-ui.png + cp $< $@ + +gtk/let-ui-glext.png: let-ui-glext.png + 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))' @@ -32,4 +53,4 @@ gobject.pdf: gobject.texi gtk.pdf: gtk.texi pdftex $< - pdftex $< \ No newline at end of file + pdftex $<