X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=doc%2FMakefile;h=c326f2339b1abe722aab30e33925163b2c95cf59;hb=fd0b6351a8e276fe4c11cec728ff105b9cab9520;hp=f3eb3315d9cfe1bd3aefc0a22e2a3cc42aa9efa5;hpb=a362544bd73df12b0585556b772fda143cccfa89;p=cl-gtk2.git diff --git a/doc/Makefile b/doc/Makefile index f3eb331..c326f23 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -1,4 +1,4 @@ -all: doc.html tutorial.html gobject/index.html gobject.pdf gobject/style.css +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 $< @@ -10,12 +10,28 @@ index.html: doc.xml xsltproc /usr/share/sgml/docbook/xsl-stylesheets/html/chunk.xsl $< gobject/style.css: style.css - cp $< $@ + ([ -x gobject ] || mkdir gobject) && cp $< $@ -gobject/index.html: gobject.texi +gobject/index.html: gobject.texi gobject.ref.texi gobject/style.css makeinfo --html --css-ref=style.css $< - sbcl --no-sysinit --no-userinit --load colorize-lisp-examples.lisp $@ + 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