Package: bochs-doc
Version: 2.1.1+20041109-3
Severity: normal

With the stylesheet parameters used, the filename of the "Home" link
generated in all HTML chunks is "index.html", however the makefile that
manage SGML DocBook to HTML translation rename the home page to
"book1.html".  So all HTML files have their "Home" link invalid.

To fix this, I modified "doc/docbok/Makefile.in" to make him create a
symbolic link "index.html" -> "book1.html".  The corresponding patch
follows.

Another way to do it may be: Discard the renaming in Makefile.in and
change "/usr/share/doc/bochs-doc/index.html" to make it refer
"*/index.html" instead of"*/book1.html".

-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.8-2-386
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)

-- no debconf information
Index: doc/docbook/Makefile.in
===================================================================
--- doc/docbook/Makefile.in     (revision 2)
+++ doc/docbook/Makefile.in     (working copy)
@@ -38,2 +38,2 @@
 # -x means don't try to forward X authorization, it won't work for SF
 SSH=ssh -x

-all: $(SECTION_HTML)
+HTML_LINKS=user/index.html development/index.html documentation/index.html

+all: $(SECTION_HTML) $(HTML_LINKS)
+
 user/book1.html: $(srcdir)/user/user.dbk
        -mkdir -p user
        $(DOCBOOK2HTML) -o user $(srcdir)/user/user.dbk
@@ -61,2 +63,2 @@
                then mv $(srcdir)/development/index.html $(srcdir)/development/book1.html; \
        fi

+user/index.html: user/book1.html
+       ln -s book1.html $@
+development/index.html: development/book1.html
+       ln -s book1.html $@
+documentation/index.html: documentation/book1.html
+       ln -s book1.html $@
+
 fixperm::
        # fix permissions locally so that tar will install things right
        chmod 664 `find $(INSTALL_LIST) -type f -print`

Reply via email to