From 2d38fb77c71cc1082a1aaaea02c978f251d9d491 Mon Sep 17 00:00:00 2001 From: Dmitry Kalyanov Date: Sun, 30 Aug 2009 17:41:45 +0400 Subject: [PATCH] Added workaround for broken texinfo references --- doc/Makefile | 4 +++- doc/fix-tex-references-1.sh | 5 +++++ doc/fix-tex-references.sh | 5 +++++ 3 files changed, 13 insertions(+), 1 deletion(-) create mode 100755 doc/fix-tex-references-1.sh create mode 100755 doc/fix-tex-references.sh diff --git a/doc/Makefile b/doc/Makefile index dd305af..c326f23 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -15,13 +15,15 @@ gobject/style.css: style.css 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 $@ + 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))' diff --git a/doc/fix-tex-references-1.sh b/doc/fix-tex-references-1.sh new file mode 100755 index 0000000..a2e3336 --- /dev/null +++ b/doc/fix-tex-references-1.sh @@ -0,0 +1,5 @@ +#!/bin/sh +file="$1" +(egrep '