Date: Mon, 9 Apr 2001 01:51:11 -0700 From: Murray Stokely <murray@osd.bsdi.com> To: Nik Clayton <nik@FreeBSD.ORG> Cc: freebsd-doc@FreeBSD.ORG Subject: Re: Indexing the Handbook Message-ID: <20010409015111.B6398@meow.osd.bsdi.com> In-Reply-To: <20010404103259.C45781@canyon.nothing-going-on.org>; from nik@FreeBSD.ORG on Wed, Apr 04, 2001 at 10:32:59AM %2B0100 References: <20010223144043.A46865@canyon.nothing-going-on.org> <Pine.BSF.4.31.0103282230500.8770-100000@meow.osd.bsdi.com> <20010404103259.C45781@canyon.nothing-going-on.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Apr 04, 2001 at 10:32:59AM +0100, Nik Clayton wrote: > Looking through doc.docbook.mk, I think there's a bug with GEN_INDEX, > and the html and html-split formats (I think there's a possibility for > it to use the FORMATS=html index.sgml when, in fact, > FORMATS=html-split. > > I'll try and test that out and fix it if it is a problem. This is how I fixed the problem on my local tree. I simply create an index.sgml file with 'touch' to solve the chicken and egg problem so that jade doesn't bomb out in the first pass, and then I add the -f option to collateindex.pl to clobber this blank file. Did you have a more elegant solution, or do you mind if I commit this? - Murray Unmangled version at : http://people.freebsd.org/~murray/patches/doc.docbook.mk.diff RCS file: /home/ncvs/doc/share/mk/doc.docbook.mk,v retrieving revision 1.31 diff -u -r1.31 doc.docbook.mk --- doc.docbook.mk 2001/03/27 16:15:07 1.31 +++ doc.docbook.mk 2001/04/09 08:44:20 @@ -197,8 +197,9 @@ index.html HTML.manifest: ${SRCS} ${LOCAL_IMAGES_LIB} ${IMAGES_PNG} .if defined(GEN_INDEX) + touch index.sgml ${JADE} -V html-index -ioutput.html -ioutput.html.images ${JADEOPTS} -d ${DSLHTML} -t sgml ${MASTERDOC} - perl ${PREFIX}/share/sgml/docbook/dsssl/modular/bin/collateindex.pl -o index.sgml HTML.index + perl ${PREFIX}/share/sgml/docbook/dsssl/modular/bin/collateindex.pl -f -o index.sgml HTML.index .endif ${JADE} -V html-manifest -ioutput.html -ioutput.html.images ${JADEOPTS} -d ${DSLHTML} -t sgml ${MASTERDOC} .if !defined(NO_TIDY) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010409015111.B6398>