Missing index.sgml, but not all index.sgml....



So - I noticed that my current installation of garnome 0.25.1 + some local bootstrap additions for docbook-xml 4.2.1 + docbook-xsl 1.61.3 + docbook-dsssl 1.78 (I run Solaris, so no dpkg/apt-get) manages to build *some* documents fine, but barfs on others... It appears that there are no problems with anything except for apps that use the:

"-//Davenport//DTD DocBook V3.0//EN"

declaration... this includes GConf and a couple of other packages that I failed to record (but instead just instinctively touch'd index.sgml). Question is, how can I have one set of docs use the 4.2.1 DTD, and others use the 3.0 DTD?

I have docbook set up like this.  In gar.conf.mk, I have a line:

DOCBOOK_ROOT=$(DESTDIR)$(sharedstatedir)/sgml/docbook

in each of the makefiles for the docbook stuff, I further define the installation path (e.g. for docbook-xml 4.1.2):

GARNAME = docbook-xml
GARVERSION = 4.1.2
CATEGORIES = bootstrap
MASTER_SITES = http://www.docbook.org/xml/$(GARVERSION)/
DISTFILES = docbkx412.zip

DESCRIPTION = DocBook DTD
define BLURB
    # Blurb goes here
endef

LIBDEPS = bootstrap/openjade

EXTRACTDIR      = $(WORKSRC)
INSTALLDIR      = $(DOCBOOK_ROOT)/dtd/xml/$(GARVERSION)

INSTALL_SCRIPTS = copy

include ../../gar.mk

install-copy:
    @install -d $(INSTALLDIR)
    @cp -Rv $(WORKSRC)/* $(INSTALLDIR)
    @find $(INSTALLDIR) -type f | xargs chmod -v 644

uninstall:
    @rm -vrf $(INSTALLDIR)

So, if my prefix is /opt/gnome-2.3.3 (which it is), my docbook stuff gets installed into:

/opt/gnome-2.3.3/share/sgml/docbook/dtd/xml/4.1.2
/opt/gnome-2.3.3/share/sgml/xsl/1.61.3
/opt/gnome-2.3.3/share/sgml/dsssl/1.78

I also modified the libxml2 buildDocBookCatalog to take a second argument, to which I pass $(DOCBOOK_ROOT). With a couple of other modifications to the script, it manages to write a proper catalog with the paths specified to each.

Now - if I want to include catalog entries for a *DIFFERENT* version of docbook, I'd have to completely overhaul the buildDocBookCatalog script to write entries for *each* version of DTD, although the buildDocBookCatalog script will currently skip everything except v4.1.2.

So, does this mean I just have to live without docs for the stuff that uses v3.0, or is there another option?

Regards,
Cory.





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]