From ba0000db88699d0d31be5f38a62d111e4e6cbd87 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Tue, 20 Aug 2002 16:27:37 +0000 Subject: New (simpler) documentation system. (This used to be commit d3b8ad67fc32c097d5aa783744192197cb3b3f26) --- docs/docbook/Makefile.in | 462 +- docs/docbook/configure | 233 +- docs/docbook/configure.in | 45 +- docs/docbook/dbsgml/40chg.txt | 45 - docs/docbook/dbsgml/41chg.txt | 7 - docs/docbook/dbsgml/50issues.txt | 39 - docs/docbook/dbsgml/ChangeLog | 85 - docs/docbook/dbsgml/cals-tbl.dtd | 330 -- docs/docbook/dbsgml/catalog | 63 - docs/docbook/dbsgml/dbcent.mod | 181 - docs/docbook/dbsgml/dbgenent.mod | 39 - docs/docbook/dbsgml/dbhier.mod | 2100 --------- docs/docbook/dbsgml/dbnotn.mod | 97 - docs/docbook/dbsgml/dbpool.mod | 7396 ------------------------------- docs/docbook/dbsgml/docbook.cat | 63 - docs/docbook/dbsgml/docbook.dcl | 106 - docs/docbook/dbsgml/docbook.dtd | 117 - docs/docbook/dbsgml/ent/ISOamsa | 66 - docs/docbook/dbsgml/ent/ISOamsb | 52 - docs/docbook/dbsgml/ent/ISOamsc | 20 - docs/docbook/dbsgml/ent/ISOamsn | 70 - docs/docbook/dbsgml/ent/ISOamso | 29 - docs/docbook/dbsgml/ent/ISOamsr | 94 - docs/docbook/dbsgml/ent/ISObox | 62 - docs/docbook/dbsgml/ent/ISOcyr1 | 77 - docs/docbook/dbsgml/ent/ISOcyr2 | 36 - docs/docbook/dbsgml/ent/ISOdia | 24 - docs/docbook/dbsgml/ent/ISOgrk1 | 59 - docs/docbook/dbsgml/ent/ISOgrk2 | 30 - docs/docbook/dbsgml/ent/ISOgrk3 | 53 - docs/docbook/dbsgml/ent/ISOgrk4 | 53 - docs/docbook/dbsgml/ent/ISOlat1 | 72 - docs/docbook/dbsgml/ent/ISOlat2 | 131 - docs/docbook/dbsgml/ent/ISOnum | 91 - docs/docbook/dbsgml/ent/ISOpub | 100 - docs/docbook/dbsgml/ent/ISOtech | 73 - docs/docbook/dbsgml/readme.txt | 12 - docs/docbook/docbook.txt | 91 +- docs/docbook/scripts/README.ldp_print | 60 - docs/docbook/scripts/collateindex.pl | 595 --- docs/docbook/scripts/fix_print_html.lib | 172 - docs/docbook/scripts/ldp_print | 71 - docs/docbook/scripts/make-article.pl | 25 - 43 files changed, 111 insertions(+), 13515 deletions(-) delete mode 100644 docs/docbook/dbsgml/40chg.txt delete mode 100644 docs/docbook/dbsgml/41chg.txt delete mode 100644 docs/docbook/dbsgml/50issues.txt delete mode 100644 docs/docbook/dbsgml/ChangeLog delete mode 100644 docs/docbook/dbsgml/cals-tbl.dtd delete mode 100644 docs/docbook/dbsgml/catalog delete mode 100755 docs/docbook/dbsgml/dbcent.mod delete mode 100644 docs/docbook/dbsgml/dbgenent.mod delete mode 100755 docs/docbook/dbsgml/dbhier.mod delete mode 100755 docs/docbook/dbsgml/dbnotn.mod delete mode 100755 docs/docbook/dbsgml/dbpool.mod delete mode 100644 docs/docbook/dbsgml/docbook.cat delete mode 100644 docs/docbook/dbsgml/docbook.dcl delete mode 100755 docs/docbook/dbsgml/docbook.dtd delete mode 100644 docs/docbook/dbsgml/ent/ISOamsa delete mode 100644 docs/docbook/dbsgml/ent/ISOamsb delete mode 100644 docs/docbook/dbsgml/ent/ISOamsc delete mode 100644 docs/docbook/dbsgml/ent/ISOamsn delete mode 100644 docs/docbook/dbsgml/ent/ISOamso delete mode 100644 docs/docbook/dbsgml/ent/ISOamsr delete mode 100644 docs/docbook/dbsgml/ent/ISObox delete mode 100644 docs/docbook/dbsgml/ent/ISOcyr1 delete mode 100644 docs/docbook/dbsgml/ent/ISOcyr2 delete mode 100644 docs/docbook/dbsgml/ent/ISOdia delete mode 100644 docs/docbook/dbsgml/ent/ISOgrk1 delete mode 100644 docs/docbook/dbsgml/ent/ISOgrk2 delete mode 100644 docs/docbook/dbsgml/ent/ISOgrk3 delete mode 100644 docs/docbook/dbsgml/ent/ISOgrk4 delete mode 100644 docs/docbook/dbsgml/ent/ISOlat1 delete mode 100644 docs/docbook/dbsgml/ent/ISOlat2 delete mode 100644 docs/docbook/dbsgml/ent/ISOnum delete mode 100644 docs/docbook/dbsgml/ent/ISOpub delete mode 100644 docs/docbook/dbsgml/ent/ISOtech delete mode 100644 docs/docbook/dbsgml/readme.txt delete mode 100644 docs/docbook/scripts/README.ldp_print delete mode 100644 docs/docbook/scripts/collateindex.pl delete mode 100644 docs/docbook/scripts/fix_print_html.lib delete mode 100755 docs/docbook/scripts/ldp_print delete mode 100644 docs/docbook/scripts/make-article.pl diff --git a/docs/docbook/Makefile.in b/docs/docbook/Makefile.in index 5056f82a98..612c495135 100644 --- a/docs/docbook/Makefile.in +++ b/docs/docbook/Makefile.in @@ -1,7 +1,8 @@ ################################################################# # Makefile.in for Samba Documentation # Authors: James Moore -# Gerald Carter +# Gerald Carter +# Jelmer Vernooij # # Please see http://www.samba.org/samba/cvs.html # for information on getting the latest @@ -9,399 +10,82 @@ # # Autoconf Variables + +MANPAGES_NAMES=findsmb.1 smbclient.1 \ + smbspool.8 lmhosts.5 \ + smbcontrol.1 smbstatus.1 \ + make_smbcodepage.1 smbd.8 \ + smbtar.1 nmbd.8 smbmnt.8 \ + smbumount.8 nmblookup.1 \ + smbmount.8 swat.8 rpcclient.1 \ + smbpasswd.5 testparm.1 samba.7 \ + smbpasswd.8 testprns.1 \ + smb.conf.5 wbinfo.1 pdbedit.8 \ + smbcacls.1 smbsh.1 winbindd.8 \ + make_unicodemap.1 net.8 \ + smbgroupedit.8 vfstest.1 + +## This part contains only rules. You shouldn't need to change it +## if you are adding docs + +DOCBOOK2MAN = @JW@ -b man +DOCBOOK2HTML = @JW@ -b html +DOCBOOK2PDF = @JW@ -b pdf +DOCBOOK2PS = @JW@ -b ps +DOCBOOK2TXT = @JW@ -b txt +DOCBOOK2INFO = @JW@ -b texi +HTMLDOC = @HTMLDOC@ SRCDIR = @srcdir@ -JADE = @JADE@ -NSGMLS = @NSGMLS@ -SGMLSPL=@SGMLSPL@ -HTMLDOC=@HTMLDOC@ -PERL=@PERL@ -#CATALOG = @CATALOG@ MANDIR=../manpages HTMLDIR=../htmldocs +MANSGMLDIR = manpages/ +SGMLDIR = projdoc/ +PERL = @PERL@ -#Stylesheets and Dependicies -SGML_SHARE=@SGML_SHARE@ -#SGML_CATALOG_FILES=$(SGML_CATALOG_FILES):./dbsgml/catalog -HTML_STYLESHEET = $(srcdir)/stylesheets/html.dsl -HTML_DEPS = $(srcdir)/stylesheets/html-common.dsl $(srcdir)/stylesheets/common.dsl - -MANPAGES=$(MANDIR)/findsmb.1 $(MANDIR)/smbclient.1 \ - $(MANDIR)/smbspool.8 $(MANDIR)/lmhosts.5 \ - $(MANDIR)/smbcontrol.1 $(MANDIR)/smbstatus.1 \ - $(MANDIR)/make_smbcodepage.1 $(MANDIR)/smbd.8 \ - $(MANDIR)/smbtar.1 $(MANDIR)/nmbd.8 $(MANDIR)/smbmnt.8 \ - $(MANDIR)/smbumount.8 $(MANDIR)/nmblookup.1 \ - $(MANDIR)/smbmount.8 $(MANDIR)/swat.8 $(MANDIR)/rpcclient.1 \ - $(MANDIR)/smbpasswd.5 $(MANDIR)/testparm.1 $(MANDIR)/samba.7 \ - $(MANDIR)/smbpasswd.8 $(MANDIR)/testprns.1 \ - $(MANDIR)/smb.conf.5 $(MANDIR)/wbinfo.1 $(MANDIR)/pdbedit.8 \ - $(MANDIR)/smbcacls.1 $(MANDIR)/smbsh.1 $(MANDIR)/winbindd.8 \ - $(MANDIR)/make_unicodemap.1 $(MANDIR)/net.8 \ - $(MANDIR)/smbgroupedit.8 $(MANDIR)/vfstest.1 - -SGMLMANSRC=manpages/findsmb.1.sgml manpages/smbclient.1.sgml \ - manpages/smbspool.8.sgml manpages/lmhosts.5.sgml \ - manpages/smbcontrol.1.sgml manpages/smbstatus.1.sgml \ - manpages/make_smbcodepage.1.sgml manpages/smbd.8.sgml \ - manpages/smbtar.1.sgml manpages/nmbd.8.sgml manpages/smbmnt.8.sgml \ - manpages/smbumount.8.sgml manpages/nmblookup.1.sgml \ - manpages/smbmount.8.sgml manpages/swat.8.sgml \ - manpages/rpcclient.1.sgml manpages/smbpasswd.5.sgml \ - manpages/testparm.1.sgml manpages/samba.7.sgml \ - manpages/smbpasswd.8.sgml manpages/testprns.1.sgml \ - manpages/smb.conf.5.sgml manpages/pdbedit.8.sgml \ - manpages/wbinfo.1.sgml manpages/smbcacls.1.sgml \ - manpages/smbsh.1.sgml manpages/winbindd.8.sgml \ - manpages/make_unicodemap.1.sgml manpages/smbgroupedit.8.sgml \ - manpages/net.8.sgml manpages/vfstest.1.sgml - -HOWTOSRC=projdoc/DOMAIN_MEMBER.sgml projdoc/NT_Security.sgml \ - projdoc/msdfs_setup.sgml projdoc/printer_driver2.sgml \ - projdoc/UNIX_INSTALL.sgml projdoc/winbind.sgml projdoc/OS2-Client-HOWTO.sgml \ - projdoc/Samba-PDC-HOWTO.sgml projdoc/ENCRYPTION.sgml \ - projdoc/CVS-Access.sgml projdoc/Integrating-with-Windows.sgml \ - projdoc/PAM-Authentication-And-Samba.sgml projdoc/Samba-LDAP-HOWTO.sgml \ - projdoc/Samba-BDC-HOWTO.sgml projdoc/Printing.sgml projdoc/Diagnosis.sgml \ - projdoc/security_level.sgml projdoc/Browsing.sgml projdoc/Bugs.sgml \ - projdoc/Speed.sgml +MANPAGES=$(patsubst %,$(MANDIR)/%,$(MANPAGES_NAMES)) +MANPAGES_HTML=$(patsubst %,$(HTMLDIR)/%.html,$(MANPAGES_NAMES)) - - -###################################################################### -# Make instructions -###################################################################### all: - @echo "Possible options to the Makefile include:" - @echo " all-docs - Force a rebuild of all documentation" - @echo " HOWTO - Build all individual HOWTOs in html format" - @echo " proj-doc - Build the Samba-HOWTO-Collection.[pdf|html] file" - @echo " man - Rebuild html and nroff versions of man pages as necessary" - @echo " syntax - Check the SGML/DocBook syntax of all source files" - -all-docs: HOWTO proj-doc man-all man-html-all - -syntax: $(SGMLMANSRC) projdoc/samba-doc.sgml - @echo Checking syntax of all SGML/DocBook source files... - @(for i in $?; do \ - echo "$$i..."; \ - $(NSGMLS) -sv $$i 2>&1 | grep -v "DTDDECL catalog entries are not supported" ; \ - done) - - - -man: $(MANPAGES) - -HOWTO: $(HOWTOSRC) - @echo Building HOWTO pages... - @(for i in $?; do \ - htmlfile=`echo $$i | sed 's,.*/,,' | sed "s/\.sgml/\.html/g"`; \ - echo "Making $$htmlfile"; \ - cat $$i | $(PERL) scripts/make-article.pl > /tmp/`echo $$i | sed 's,.*/,,'`; \ - $(JADE) -t sgml -V nochunks -d $(SGML_SHARE)/dsssl/docbook/html/docbook.dsl \ - -f /tmp/jade.log /tmp/`echo $$i | sed 's,.*/,,'` > ../htmldocs/$$htmlfile; \ - cat /tmp/jade.log | grep -v DTDDECL; \ - /bin/rm -f /tmp/jade.log /tmp/`echo $$i | sed 's,.*/,,'`; \ - done) - - -## I'm using htmldoc here to produc the PDF output. If you want -## Postscript output, you can run -## -## sgmltools -b ps projdoc/samba-doc.sgml -## -proj-doc: - echo Building Samba-HOWTO-Collections... - @$(PERL) scripts/collateindex.pl -N -o projdoc/index.sgml - @$(JADE) -t sgml -V html-index -d $(SGML_SHARE)/dsssl/docbook/html/docbook.dsl projdoc/samba-doc.sgml - @$(PERL) scripts/collateindex.pl -o projdoc/index.sgml HTML.index - @/bin/rm HTML.index *.htm - @$(JADE) -t sgml -i html -V nochunks -d stylesheets/ldp.dsl\#html projdoc/samba-doc.sgml > samba-doc.html - @(cd scripts; ./ldp_print ../samba-doc.html) - @mv -f samba-doc.pdf ../Samba-HOWTO-Collection.pdf - @/bin/mv -f samba-doc.html ../htmldocs/Samba-HOWTO-Collection.html - - -## generate all HTML man pages -man-html-all: $(SGMLMANSRC) - @echo Building HTML formatted man pages... - @(for i in $?; do \ - htmlfile=`echo $$i | sed 's,.*/,,' | sed "s/\.sgml/\.html/g"`; \ - echo "Making $$htmlfile"; \ - $(JADE) -t sgml -i html -V nochunks -d ./stylesheets/ldp.dsl\#html -f /tmp/jade.log $$i > ../htmldocs/$$htmlfile; \ - cat /tmp/jade.log | grep -v DTDDECL; \ - /bin/rm -f /tmp/jade.log; \ - done) - -## generate all man pages -man-all: $(SGMLMANSRC) - @echo Building man pages... - @(for i in $?; do \ - manfile=`echo $$i | sed 's,.*/,,' | sed "s/\.sgml//g"`; \ - echo "Making $$manfile"; \ - $(NSGMLS) -f /tmp/docbook2x.log $$i | $(SGMLSPL) \ - $(SGML_SHARE)/docbook2X/docbook2man-spec.pl; \ - cat /tmp/docbook2x.log | grep -v DTDDECL; \ - /bin/rm -f /tmp/docbook2x.log; \ - cat $$manfile | $(PERL) scripts/strip-links.pl > $(MANDIR)/$$manfile; \ - /bin/rm -f $$manfile; \ - done) - - - - -## -## these rules are for building individual files -## -$(MANDIR)/findsmb.1: manpages/findsmb.1.sgml - @echo "Making $@" - @$(NSGMLS) $< | $(SGMLSPL) $(SGML_SHARE)/docbook2X/docbook2man-spec.pl - @cat `echo $@ | sed 's,.*/,,'` | $(PERL) scripts/strip-links.pl > $@ - @/bin/rm -f `echo $@ | sed 's,.*/,,'` - @echo "Making HTML version of $@" - @$(JADE) -t sgml -i html -V nochunks -d ./stylesheets/ldp.dsl\#html $< > $(HTMLDIR)/`echo $< | sed 's,.*/,,'| sed "s/\.sgml/\.html/g"` - -$(MANDIR)/smbclient.1: manpages/smbclient.1.sgml - @echo "Making $@" - @$(NSGMLS) $< | $(SGMLSPL) $(SGML_SHARE)/docbook2X/docbook2man-spec.pl - @cat `echo $@ | sed 's,.*/,,'` | $(PERL) scripts/strip-links.pl > $@ - @/bin/rm -f `echo $@ | sed 's,.*/,,'` - @echo "Making HTML version of $@" - @$(JADE) -t sgml -i html -V nochunks -d ./stylesheets/ldp.dsl\#html $< > $(HTMLDIR)/`echo $< | sed 's,.*/,,'| sed "s/\.sgml/\.html/g"` - -$(MANDIR)/smbspool.8: manpages/smbspool.8.sgml - @echo "Making $@" - @$(NSGMLS) $< | $(SGMLSPL) $(SGML_SHARE)/docbook2X/docbook2man-spec.pl - @cat `echo $@ | sed 's,.*/,,'` | $(PERL) scripts/strip-links.pl > $@ - @/bin/rm -f `echo $@ | sed 's,.*/,,'` - @echo "Making HTML version of $@" - @$(JADE) -t sgml -i html -V nochunks -d ./stylesheets/ldp.dsl\#html $< > $(HTMLDIR)/`echo $< | sed 's,.*/,,'| sed "s/\.sgml/\.html/g"` - -$(MANDIR)/lmhosts.5: manpages/lmhosts.5.sgml - @echo "Making $@" - @$(NSGMLS) $< | $(SGMLSPL) $(SGML_SHARE)/docbook2X/docbook2man-spec.pl - @cat `echo $@ | sed 's,.*/,,'` | $(PERL) scripts/strip-links.pl > $@ - @/bin/rm -f `echo $@ | sed 's,.*/,,'` - @echo "Making HTML version of $@" - @$(JADE) -t sgml -i html -V nochunks -d ./stylesheets/ldp.dsl\#html $< > $(HTMLDIR)/`echo $< | sed 's,.*/,,'| sed "s/\.sgml/\.html/g"` - -$(MANDIR)/smbcontrol.1: manpages/smbcontrol.1.sgml - @echo "Making $@" - @$(NSGMLS) $< | $(SGMLSPL) $(SGML_SHARE)/docbook2X/docbook2man-spec.pl - @cat `echo $@ | sed 's,.*/,,'` | $(PERL) scripts/strip-links.pl > $@ - @/bin/rm -f `echo $@ | sed 's,.*/,,'` - @echo "Making HTML version of $@" - @$(JADE) -t sgml -i html -V nochunks -d ./stylesheets/ldp.dsl\#html $< > $(HTMLDIR)/`echo $< | sed 's,.*/,,'| sed "s/\.sgml/\.html/g"` - -$(MANDIR)/smbstatus.1: manpages/smbstatus.1.sgml - @echo "Making $@" - @$(NSGMLS) $< | $(SGMLSPL) $(SGML_SHARE)/docbook2X/docbook2man-spec.pl - @cat `echo $@ | sed 's,.*/,,'` | $(PERL) scripts/strip-links.pl > $@ - @/bin/rm -f `echo $@ | sed 's,.*/,,'` - @echo "Making HTML version of $@" - @$(JADE) -t sgml -i html -V nochunks -d ./stylesheets/ldp.dsl\#html $< > $(HTMLDIR)/`echo $< | sed 's,.*/,,'| sed "s/\.sgml/\.html/g"` - -$(MANDIR)/make_smbcodepage.1: manpages/make_smbcodepage.1.sgml - @echo "Making $@" - @$(NSGMLS) $< | $(SGMLSPL) $(SGML_SHARE)/docbook2X/docbook2man-spec.pl - @cat `echo $@ | sed 's,.*/,,'` | $(PERL) scripts/strip-links.pl > $@ - @/bin/rm -f `echo $@ | sed 's,.*/,,'` - @echo "Making HTML version of $@" - @$(JADE) -t sgml -i html -V nochunks -d ./stylesheets/ldp.dsl\#html $< > $(HTMLDIR)/`echo $< | sed 's,.*/,,'| sed "s/\.sgml/\.html/g"` - -$(MANDIR)/make_unicodemap.1: manpages/make_unicodemap.1.sgml - @echo "Making $@" - @$(NSGMLS) $< | $(SGMLSPL) $(SGML_SHARE)/docbook2X/docbook2man-spec.pl - @cat `echo $@ | sed 's,.*/,,'` | $(PERL) scripts/strip-links.pl > $@ - @/bin/rm -f `echo $@ | sed 's,.*/,,'` - @echo "Making HTML version of $@" - @$(JADE) -t sgml -i html -V nochunks -d ./stylesheets/ldp.dsl\#html $< > $(HTMLDIR)/`echo $< | sed 's,.*/,,'| sed "s/\.sgml/\.html/g"` - -$(MANDIR)/smbd.8: manpages/smbd.8.sgml - @echo "Making $@" - @$(NSGMLS) $< | $(SGMLSPL) $(SGML_SHARE)/docbook2X/docbook2man-spec.pl - @cat `echo $@ | sed 's,.*/,,'` | $(PERL) scripts/strip-links.pl > $@ - @/bin/rm -f `echo $@ | sed 's,.*/,,'` - @echo "Making HTML version of $@" - @$(JADE) -t sgml -i html -V nochunks -d ./stylesheets/ldp.dsl\#html $< > $(HTMLDIR)/`echo $< | sed 's,.*/,,'| sed "s/\.sgml/\.html/g"` - -$(MANDIR)/smbtar.1: manpages/smbtar.1.sgml - @echo "Making $@" - @$(NSGMLS) $< | $(SGMLSPL) $(SGML_SHARE)/docbook2X/docbook2man-spec.pl - @cat `echo $@ | sed 's,.*/,,'` | $(PERL) scripts/strip-links.pl > $@ - @/bin/rm -f `echo $@ | sed 's,.*/,,'` - @echo "Making HTML version of $@" - @$(JADE) -t sgml -i html -V nochunks -d ./stylesheets/ldp.dsl\#html $< > $(HTMLDIR)/`echo $< | sed 's,.*/,,'| sed "s/\.sgml/\.html/g"` - -$(MANDIR)/nmbd.8: manpages/nmbd.8.sgml - @echo "Making $@" - @$(NSGMLS) $< | $(SGMLSPL) $(SGML_SHARE)/docbook2X/docbook2man-spec.pl - @cat `echo $@ | sed 's,.*/,,'` | $(PERL) scripts/strip-links.pl > $@ - @/bin/rm -f `echo $@ | sed 's,.*/,,'` - @echo "Making HTML version of $@" - @$(JADE) -t sgml -i html -V nochunks -d ./stylesheets/ldp.dsl\#html $< > $(HTMLDIR)/`echo $< | sed 's,.*/,,'| sed "s/\.sgml/\.html/g"` - -$(MANDIR)/smbmnt.8: manpages/smbmnt.8.sgml - @echo "Making $@" - @$(NSGMLS) $< | $(SGMLSPL) $(SGML_SHARE)/docbook2X/docbook2man-spec.pl - @cat `echo $@ | sed 's,.*/,,'` | $(PERL) scripts/strip-links.pl > $@ - @/bin/rm -f `echo $@ | sed 's,.*/,,'` - @echo "Making HTML version of $@" - @$(JADE) -t sgml -i html -V nochunks -d ./stylesheets/ldp.dsl\#html $< > $(HTMLDIR)/`echo $< | sed 's,.*/,,'| sed "s/\.sgml/\.html/g"` - -$(MANDIR)/smbumount.8: manpages/smbumount.8.sgml - @echo "Making $@" - @$(NSGMLS) $< | $(SGMLSPL) $(SGML_SHARE)/docbook2X/docbook2man-spec.pl - @cat `echo $@ | sed 's,.*/,,'` | $(PERL) scripts/strip-links.pl > $@ - @/bin/rm -f `echo $@ | sed 's,.*/,,'` - @echo "Making HTML version of $@" - @$(JADE) -t sgml -i html -V nochunks -d ./stylesheets/ldp.dsl\#html $< > $(HTMLDIR)/`echo $< | sed 's,.*/,,'| sed "s/\.sgml/\.html/g"` - -$(MANDIR)/nmblookup.1: manpages/nmblookup.1.sgml - @echo "Making $@" - @$(NSGMLS) $< | $(SGMLSPL) $(SGML_SHARE)/docbook2X/docbook2man-spec.pl - @cat `echo $@ | sed 's,.*/,,'` | $(PERL) scripts/strip-links.pl > $@ - @/bin/rm -f `echo $@ | sed 's,.*/,,'` - @echo "Making HTML version of $@" - @$(JADE) -t sgml -i html -V nochunks -d ./stylesheets/ldp.dsl\#html $< > $(HTMLDIR)/`echo $< | sed 's,.*/,,'| sed "s/\.sgml/\.html/g"` - -$(MANDIR)/smbmount.8: manpages/smbmount.8.sgml - @echo "Making $@" - @$(NSGMLS) $< | $(SGMLSPL) $(SGML_SHARE)/docbook2X/docbook2man-spec.pl - @cat `echo $@ | sed 's,.*/,,'` | $(PERL) scripts/strip-links.pl > $@ - @/bin/rm -f `echo $@ | sed 's,.*/,,'` - @echo "Making HTML version of $@" - @$(JADE) -t sgml -i html -V nochunks -d ./stylesheets/ldp.dsl\#html $< > $(HTMLDIR)/`echo $< | sed 's,.*/,,'| sed "s/\.sgml/\.html/g"` - -$(MANDIR)/swat.8: manpages/swat.8.sgml - @echo "Making $@" - @$(NSGMLS) $< | $(SGMLSPL) $(SGML_SHARE)/docbook2X/docbook2man-spec.pl - @cat `echo $@ | sed 's,.*/,,'` | $(PERL) scripts/strip-links.pl > $@ - @/bin/rm -f `echo $@ | sed 's,.*/,,'` - @echo "Making HTML version of $@" - @$(JADE) -t sgml -i html -V nochunks -d ./stylesheets/ldp.dsl\#html $< > $(HTMLDIR)/`echo $< | sed 's,.*/,,'| sed "s/\.sgml/\.html/g"` - -$(MANDIR)/rpcclient.1: manpages/rpcclient.1.sgml - @echo "Making $@" - @$(NSGMLS) $< | $(SGMLSPL) $(SGML_SHARE)/docbook2X/docbook2man-spec.pl - @cat `echo $@ | sed 's,.*/,,'` | $(PERL) scripts/strip-links.pl > $@ - @/bin/rm -f `echo $@ | sed 's,.*/,,'` - @echo "Making HTML version of $@" - @$(JADE) -t sgml -i html -V nochunks -d ./stylesheets/ldp.dsl\#html $< > $(HTMLDIR)/`echo $< | sed 's,.*/,,'| sed "s/\.sgml/\.html/g"` - -$(MANDIR)/smbpasswd.5: manpages/smbpasswd.5.sgml - @echo "Making $@" - @$(NSGMLS) $< | $(SGMLSPL) $(SGML_SHARE)/docbook2X/docbook2man-spec.pl - @cat `echo $@ | sed 's,.*/,,'` | $(PERL) scripts/strip-links.pl > $@ - @/bin/rm -f `echo $@ | sed 's,.*/,,'` - @echo "Making HTML version of $@" - @$(JADE) -t sgml -i html -V nochunks -d ./stylesheets/ldp.dsl\#html $< > $(HTMLDIR)/`echo $< | sed 's,.*/,,'| sed "s/\.sgml/\.html/g"` - -$(MANDIR)/testparm.1: manpages/testparm.1.sgml - @echo "Making $@" - @$(NSGMLS) $< | $(SGMLSPL) $(SGML_SHARE)/docbook2X/docbook2man-spec.pl - @cat `echo $@ | sed 's,.*/,,'` | $(PERL) scripts/strip-links.pl > $@ - @/bin/rm -f `echo $@ | sed 's,.*/,,'` - @echo "Making HTML version of $@" - @$(JADE) -t sgml -i html -V nochunks -d ./stylesheets/ldp.dsl\#html $< > $(HTMLDIR)/`echo $< | sed 's,.*/,,'| sed "s/\.sgml/\.html/g"` - -$(MANDIR)/samba.7: manpages/samba.7.sgml - @echo "Making $@" - @$(NSGMLS) $< | $(SGMLSPL) $(SGML_SHARE)/docbook2X/docbook2man-spec.pl - @cat `echo $@ | sed 's,.*/,,'` | $(PERL) scripts/strip-links.pl > $@ - @/bin/rm -f `echo $@ | sed 's,.*/,,'` - @echo "Making HTML version of $@" - @$(JADE) -t sgml -i html -V nochunks -d ./stylesheets/ldp.dsl\#html $< > $(HTMLDIR)/`echo $< | sed 's,.*/,,'| sed "s/\.sgml/\.html/g"` - -$(MANDIR)/smbpasswd.8: manpages/smbpasswd.8.sgml - @echo "Making $@" - @$(NSGMLS) $< | $(SGMLSPL) $(SGML_SHARE)/docbook2X/docbook2man-spec.pl - @cat `echo $@ | sed 's,.*/,,'` | $(PERL) scripts/strip-links.pl > $@ - @/bin/rm -f `echo $@ | sed 's,.*/,,'` - @echo "Making HTML version of $@" - @$(JADE) -t sgml -i html -V nochunks -d ./stylesheets/ldp.dsl\#html $< > $(HTMLDIR)/`echo $< | sed 's,.*/,,'| sed "s/\.sgml/\.html/g"` - -$(MANDIR)/testprns.1: manpages/testprns.1.sgml - @echo "Making $@" - @$(NSGMLS) $< | $(SGMLSPL) $(SGML_SHARE)/docbook2X/docbook2man-spec.pl - @cat `echo $@ | sed 's,.*/,,'` | $(PERL) scripts/strip-links.pl > $@ - @/bin/rm -f `echo $@ | sed 's,.*/,,'` - @echo "Making HTML version of $@" - @$(JADE) -t sgml -i html -V nochunks -d ./stylesheets/ldp.dsl\#html $< > $(HTMLDIR)/`echo $< | sed 's,.*/,,'| sed "s/\.sgml/\.html/g"` - -$(MANDIR)/vfstest.1: manpages/vfstest.1.sgml - @echo "Making $@" - @$(NSGMLS) $< | $(SGMLSPL) $(SGML_SHARE)/docbook2X/docbook2man-spec.pl - @cat `echo $@ | sed 's,.*/,,'` | $(PERL) scripts/strip-links.pl > $@ - @/bin/rm -f `echo $@ | sed 's,.*/,,'` - @echo "Making HTML version of $@" - @$(JADE) -t sgml -i html -V nochunks -d ./stylesheets/ldp.dsl\#html $< > $(HTMLDIR)/`echo $< | sed 's,.*/,,'| sed "s/\.sgml/\.html/g"` - -$(MANDIR)/smb.conf.5: manpages/smb.conf.5.sgml - @echo "Making $@" - @$(NSGMLS) $< | $(SGMLSPL) $(SGML_SHARE)/docbook2X/docbook2man-spec.pl - @cat `echo $@ | sed 's,.*/,,'` | $(PERL) scripts/strip-links.pl > $@ - @/bin/rm -f `echo $@ | sed 's,.*/,,'` - @echo "Making HTML version of $@" - @$(JADE) -t sgml -i html -V nochunks -d ./stylesheets/ldp.dsl\#html $< > $(HTMLDIR)/`echo $< | sed 's,.*/,,'| sed "s/\.sgml/\.html/g"` - -$(MANDIR)/wbinfo.1: manpages/wbinfo.1.sgml - @echo "Making $@" - @$(NSGMLS) $< | $(SGMLSPL) $(SGML_SHARE)/docbook2X/docbook2man-spec.pl - @cat `echo $@ | sed 's,.*/,,'` | $(PERL) scripts/strip-links.pl > $@ - @/bin/rm -f `echo $@ | sed 's,.*/,,'` - @echo "Making HTML version of $@" - @$(JADE) -t sgml -i html -V nochunks -d ./stylesheets/ldp.dsl\#html $< > $(HTMLDIR)/`echo $< | sed 's,.*/,,'| sed "s/\.sgml/\.html/g"` - -$(MANDIR)/smbcacls.1: manpages/smbcacls.1.sgml - @echo "Making $@" - @$(NSGMLS) $< | $(SGMLSPL) $(SGML_SHARE)/docbook2X/docbook2man-spec.pl - @cat `echo $@ | sed 's,.*/,,'` | $(PERL) scripts/strip-links.pl > $@ - @/bin/rm -f `echo $@ | sed 's,.*/,,'` - @echo "Making HTML version of $@" - @$(JADE) -t sgml -i html -V nochunks -d ./stylesheets/ldp.dsl\#html $< > $(HTMLDIR)/`echo $< | sed 's,.*/,,'| sed "s/\.sgml/\.html/g"` - -$(MANDIR)/smbsh.1 : manpages/smbsh.1.sgml - @echo "Making $@" - @$(NSGMLS) $< | $(SGMLSPL) $(SGML_SHARE)/docbook2X/docbook2man-spec.pl - @cat `echo $@ | sed 's,.*/,,'` | $(PERL) scripts/strip-links.pl > $@ - @/bin/rm -f `echo $@ | sed 's,.*/,,'` - @echo "Making HTML version of $@" - @$(JADE) -t sgml -i html -V nochunks -d ./stylesheets/ldp.dsl\#html $< > $(HTMLDIR)/`echo $< | sed 's,.*/,,'| sed "s/\.sgml/\.html/g"` - -$(MANDIR)/winbindd.8: manpages/winbindd.8.sgml - @echo "Making $@" - @$(NSGMLS) $< | $(SGMLSPL) $(SGML_SHARE)/docbook2X/docbook2man-spec.pl - @cat `echo $@ | sed 's,.*/,,'` | $(PERL) scripts/strip-links.pl > $@ - @/bin/rm -f `echo $@ | sed 's,.*/,,'` - @echo "Making HTML version of $@" - @$(JADE) -t sgml -i html -V nochunks -d ./stylesheets/ldp.dsl\#html $< > $(HTMLDIR)/`echo $< | sed 's,.*/,,'| sed "s/\.sgml/\.html/g"` - - -$(MANDIR)/pdbedit.8: manpages/pdbedit.8.sgml - @echo "Making $@" - @$(NSGMLS) $< | $(SGMLSPL) $(SGML_SHARE)/docbook2X/docbook2man-spec.pl - @cat `echo $@ | sed 's,.*/,,'` | $(PERL) scripts/strip-links.pl > $@ - @/bin/rm -f `echo $@ | sed 's,.*/,,'` - @echo "Making HTML version of $@" - @$(JADE) -t sgml -i html -V nochunks -d ./stylesheets/ldp.dsl\#html $< > $(HTMLDIR)/`echo $< | sed 's,.*/,,'| sed "s/\.sgml/\.html/g"` - -$(MANDIR)/net.8: manpages/net.8.sgml - @echo "Making $@" - @$(NSGMLS) $< | $(SGMLSPL) $(SGML_SHARE)/docbook2X/docbook2man-spec.pl - @cat `echo $@ | sed 's,.*/,,'` | $(PERL) scripts/strip-links.pl > $@ - @/bin/rm -f `echo $@ | sed 's,.*/,,'` - @echo "Making HTML version of $@" - @$(JADE) -t sgml -i html -V nochunks -d ./stylesheets/ldp.dsl\#html $< > $(HTMLDIR)/`echo $< | sed 's,.*/,,'| sed "s/\.sgml/\.html/g"` - -$(MANDIR)/smbgroupedit.8: manpages/smbgroupedit.8.sgml - @echo "Making $@" - @$(NSGMLS) $< | $(SGMLSPL) $(SGML_SHARE)/docbook2X/docbook2man-spec.pl - @cat `echo $@ | sed 's,.*/,,'` | $(PERL) scripts/strip-links.pl > $@ - @/bin/rm -f `echo $@ | sed 's,.*/,,'` - @echo "Making HTML version of $@" - @$(JADE) -t sgml -i html -V nochunks -d ./stylesheets/ldp.dsl\#html $< > $(HTMLDIR)/`echo $< | sed 's,.*/,,'| sed "s/\.sgml/\.html/g"` - + @echo "Supported make targets:" + @echo "manpages - Build manpages" + @echo "ps - Build PostScript version of HOWTO Collection" + @echo "pdf - Build PDF version of HOWTO Collection" + @echo "html-single - Build single HTML version of HOWTO Collection" + @echo "html - Build HTML version of HOWTO Collection and manpages" + @echo "txt - Build plain text version of HOWTO Collection" + +manpages: $(MANPAGES) +pdf: ../Samba-HOWTO-Collection.pdf +ps: ../Samba-HOWTO-Collection.ps +txt: ../Samba-HOWTO-Collection.txt +html: $(HTMLDIR)/samba-doc.html +html-single: ../Samba-HOWTO-Collection.html $(MANPAGES_HTML) + +../Samba-HOWTO-Collection.txt: $(SGMLDIR)/samba-doc.sgml + $(DOCBOOK2TXT) -o .. $< + mv ../samba-doc.txt $@ + +../Samba-HOWTO-Collection.ps: $(SGMLDIR)/samba-doc.sgml + $(DOCBOOK2PS) -o .. $< + mv ../samba-doc.ps $@ + +../Samba-HOWTO-Collection.pdf: ../Samba-HOWTO-Collection.html + $(HTMLDOC) --book --color --links -f $@ $< + +../Samba-HOWTO-Collection.html: $(SGMLDIR)/samba-doc.sgml + $(DOCBOOK2HTML) -u -o .. $< + mv ../samba-doc.html $@ + +$(HTMLDIR)/samba-doc.html: $(SGMLDIR)/samba-doc.sgml + $(DOCBOOK2HTML) -o $(HTMLDIR) $< + +$(HTMLDIR)/%.html: $(MANSGMLDIR)/%.sgml + $(DOCBOOK2HTML) -o $(HTMLDIR) $< + +$(MANDIR)/%: $(MANSGMLDIR)/%.sgml + $(DOCBOOK2MAN) -o $(MANDIR) $< + $(PERL) scripts/strip-links.pl < $@ > $@.temp + mv $@.temp $@ -## Clean Rule clean: - /bin/rm -f manpage.* + rm -f $(MANPAGES) $(MANPAGES_HTML) ../htmldocs/*.html ../Samba-HOWTO-Collection.pdf ../Samba-HOWTO-Collection.ps diff --git a/docs/docbook/configure b/docs/docbook/configure index 26ea467482..609c17ed87 100755 --- a/docs/docbook/configure +++ b/docs/docbook/configure @@ -11,8 +11,6 @@ ac_help= ac_default_prefix=/usr/local # Any additions from configure.in: -ac_help="$ac_help - --with-sgml-share=DIR change the default location of SGML stylesheets" # Initialize some variables set by options. # The variables have the same names as the options, with @@ -524,22 +522,19 @@ fi -## check for the necesary install tools -## Openjade includes 'onsgmls' while -## the older jade package includes 'nsgmls' -# Extract the first word of "openjade", so it can be a program name with args. -set dummy openjade; ac_word=$2 +# Extract the first word of "jw", so it can be a program name with args. +set dummy jw; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:534: checking for $ac_word" >&5 -if eval "test \"`echo '$''{'ac_cv_path_JADE'+set}'`\" = set"; then +echo "configure:529: checking for $ac_word" >&5 +if eval "test \"`echo '$''{'ac_cv_path_JW'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else - case "$JADE" in + case "$JW" in /*) - ac_cv_path_JADE="$JADE" # Let the user override the test with a path. + ac_cv_path_JW="$JW" # Let the user override the test with a path. ;; ?:/*) - ac_cv_path_JADE="$JADE" # Let the user override the test with a dos path. + ac_cv_path_JW="$JW" # Let the user override the test with a dos path. ;; *) IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" @@ -547,7 +542,7 @@ else for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then - ac_cv_path_JADE="$ac_dir/$ac_word" + ac_cv_path_JW="$ac_dir/$ac_word" break fi done @@ -555,99 +550,26 @@ else ;; esac fi -JADE="$ac_cv_path_JADE" -if test -n "$JADE"; then - echo "$ac_t""$JADE" 1>&6 +JW="$ac_cv_path_JW" +if test -n "$JW"; then + echo "$ac_t""$JW" 1>&6 else echo "$ac_t""no" 1>&6 fi - -if test -z "$JADE"; then - # Extract the first word of "jade", so it can be a program name with args. -set dummy jade; ac_word=$2 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:571: checking for $ac_word" >&5 -if eval "test \"`echo '$''{'ac_cv_path_JADE'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - case "$JADE" in - /*) - ac_cv_path_JADE="$JADE" # Let the user override the test with a path. - ;; - ?:/*) - ac_cv_path_JADE="$JADE" # Let the user override the test with a dos path. - ;; - *) - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" - ac_dummy="$PATH" - for ac_dir in $ac_dummy; do - test -z "$ac_dir" && ac_dir=. - if test -f $ac_dir/$ac_word; then - ac_cv_path_JADE="$ac_dir/$ac_word" - break - fi - done - IFS="$ac_save_ifs" - ;; -esac -fi -JADE="$ac_cv_path_JADE" -if test -n "$JADE"; then - echo "$ac_t""$JADE" 1>&6 -else - echo "$ac_t""no" 1>&6 -fi - - # Extract the first word of "nsgmls", so it can be a program name with args. -set dummy nsgmls; ac_word=$2 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:606: checking for $ac_word" >&5 -if eval "test \"`echo '$''{'ac_cv_path_NSGMLS'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - case "$NSGMLS" in - /*) - ac_cv_path_NSGMLS="$NSGMLS" # Let the user override the test with a path. - ;; - ?:/*) - ac_cv_path_NSGMLS="$NSGMLS" # Let the user override the test with a dos path. - ;; - *) - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" - ac_dummy="$PATH" - for ac_dir in $ac_dummy; do - test -z "$ac_dir" && ac_dir=. - if test -f $ac_dir/$ac_word; then - ac_cv_path_NSGMLS="$ac_dir/$ac_word" - break - fi - done - IFS="$ac_save_ifs" - ;; -esac -fi -NSGMLS="$ac_cv_path_NSGMLS" -if test -n "$NSGMLS"; then - echo "$ac_t""$NSGMLS" 1>&6 -else - echo "$ac_t""no" 1>&6 -fi - -else - # Extract the first word of "onsgmls", so it can be a program name with args. -set dummy onsgmls; ac_word=$2 +# Extract the first word of "perl", so it can be a program name with args. +set dummy perl; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:642: checking for $ac_word" >&5 -if eval "test \"`echo '$''{'ac_cv_path_NSGMLS'+set}'`\" = set"; then +echo "configure:564: checking for $ac_word" >&5 +if eval "test \"`echo '$''{'ac_cv_path_PERL'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else - case "$NSGMLS" in + case "$PERL" in /*) - ac_cv_path_NSGMLS="$NSGMLS" # Let the user override the test with a path. + ac_cv_path_PERL="$PERL" # Let the user override the test with a path. ;; ?:/*) - ac_cv_path_NSGMLS="$NSGMLS" # Let the user override the test with a dos path. + ac_cv_path_PERL="$PERL" # Let the user override the test with a dos path. ;; *) IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" @@ -655,7 +577,7 @@ else for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then - ac_cv_path_NSGMLS="$ac_dir/$ac_word" + ac_cv_path_PERL="$ac_dir/$ac_word" break fi done @@ -663,19 +585,17 @@ else ;; esac fi -NSGMLS="$ac_cv_path_NSGMLS" -if test -n "$NSGMLS"; then - echo "$ac_t""$NSGMLS" 1>&6 +PERL="$ac_cv_path_PERL" +if test -n "$PERL"; then + echo "$ac_t""$PERL" 1>&6 else echo "$ac_t""no" 1>&6 fi -fi - # Extract the first word of "htmldoc", so it can be a program name with args. set dummy htmldoc; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:679: checking for $ac_word" >&5 +echo "configure:599: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_HTMLDOC'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -707,102 +627,6 @@ else echo "$ac_t""no" 1>&6 fi -# Extract the first word of "sgmlspl", so it can be a program name with args. -set dummy sgmlspl; ac_word=$2 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:714: checking for $ac_word" >&5 -if eval "test \"`echo '$''{'ac_cv_path_SGMLSPL'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - case "$SGMLSPL" in - /*) - ac_cv_path_SGMLSPL="$SGMLSPL" # Let the user override the test with a path. - ;; - ?:/*) - ac_cv_path_SGMLSPL="$SGMLSPL" # Let the user override the test with a dos path. - ;; - *) - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" - ac_dummy="$PATH" - for ac_dir in $ac_dummy; do - test -z "$ac_dir" && ac_dir=. - if test -f $ac_dir/$ac_word; then - ac_cv_path_SGMLSPL="$ac_dir/$ac_word" - break - fi - done - IFS="$ac_save_ifs" - ;; -esac -fi -SGMLSPL="$ac_cv_path_SGMLSPL" -if test -n "$SGMLSPL"; then - echo "$ac_t""$SGMLSPL" 1>&6 -else - echo "$ac_t""no" 1>&6 -fi - -# Extract the first word of "perl", so it can be a program name with args. -set dummy perl; ac_word=$2 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:749: checking for $ac_word" >&5 -if eval "test \"`echo '$''{'ac_cv_path_PERL'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - case "$PERL" in - /*) - ac_cv_path_PERL="$PERL" # Let the user override the test with a path. - ;; - ?:/*) - ac_cv_path_PERL="$PERL" # Let the user override the test with a dos path. - ;; - *) - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" - ac_dummy="$PATH" - for ac_dir in $ac_dummy; do - test -z "$ac_dir" && ac_dir=. - if test -f $ac_dir/$ac_word; then - ac_cv_path_PERL="$ac_dir/$ac_word" - break - fi - done - IFS="$ac_save_ifs" - ;; -esac -fi -PERL="$ac_cv_path_PERL" -if test -n "$PERL"; then - echo "$ac_t""$PERL" 1>&6 -else - echo "$ac_t""no" 1>&6 -fi - - -SGML_SHARE="/usr/local/share/sgml" - -# Check whether --with-sgml-share or --without-sgml-share was given. -if test "${with_sgml_share+set}" = set; then - withval="$with_sgml_share" - case "$withval" in - no) SGML_SHARE="" - ;; - yes) - ;; - /*|\\*) - SGML_SHARE="$withval" - ;; - *) - SGML_SHARE="/$withval" - ;; -esac - -fi - -# The Makefile requires docbook2X in the share/sgml directory -if ! test -f $SGML_SHARE/docbook2X/docbook2man-spec.pl ; then - { echo "configure: error: "Unable to find dockbook2X. Make sure it is installed and that the sgml-share path is correct."" 1>&2; exit 1; } -fi - DOC_BUILD_DATE=`date '+%d-%m-%Y'` @@ -919,7 +743,7 @@ done ac_given_srcdir=$srcdir -trap 'rm -fr `echo "Makefile stylesheets/ldp.dsl " | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15 +trap 'rm -fr `echo "Makefile " | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15 EOF cat >> $CONFIG_STATUS <> $CONFIG_STATUS <> $CONFIG_STATUS <<\EOF for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then diff --git a/docs/docbook/configure.in b/docs/docbook/configure.in index f8b4a1618a..3a9ed51d16 100644 --- a/docs/docbook/configure.in +++ b/docs/docbook/configure.in @@ -1,49 +1,10 @@ AC_INIT(global.ent) -## check for the necesary install tools -## Openjade includes 'onsgmls' while -## the older jade package includes 'nsgmls' -AC_PATH_PROG(JADE,openjade) - -if test -z "$JADE"; then - AC_PATH_PROG(JADE,jade) - AC_PATH_PROG(NSGMLS, nsgmls) -else - AC_PATH_PROG(NSGMLS, onsgmls) -fi - -AC_PATH_PROG(HTMLDOC, htmldoc) -AC_PATH_PROG(SGMLSPL, sgmlspl) +AC_PATH_PROG(JW, jw) AC_PATH_PROG(PERL, perl) - -dnl ---------------------------------------------------------------- -dnl --with-sgml-share -SGML_SHARE="/usr/local/share/sgml" - -AC_ARG_WITH(sgml-share, -[ --with-sgml-share=DIR change the default location of SGML stylesheets], -[case "$withval" in - no) SGML_SHARE="" - ;; - yes) - ;; - /*|\\*) - SGML_SHARE="$withval" - ;; - *) - SGML_SHARE="/$withval" - ;; -esac -])dnl - -# The Makefile requires docbook2X in the share/sgml directory -if [ ! test -f $SGML_SHARE/docbook2X/docbook2man-spec.pl ]; then - AC_MSG_ERROR("Unable to find docbook2X. Make sure it is installed and that the sgml-share path is correct.") -fi - -AC_SUBST(SGML_SHARE)dnl +AC_PATH_PROG(HTMLDOC, htmldoc) DOC_BUILD_DATE=`date '+%d-%m-%Y'` AC_SUBST(DOC_BUILD_DATE) -AC_OUTPUT( Makefile stylesheets/ldp.dsl ) +AC_OUTPUT( Makefile ) diff --git a/docs/docbook/dbsgml/40chg.txt b/docs/docbook/dbsgml/40chg.txt deleted file mode 100644 index 2d2467d9eb..0000000000 --- a/docs/docbook/dbsgml/40chg.txt +++ /dev/null @@ -1,45 +0,0 @@ -19 June 2000 - -Changes from DocBook V3.1 to DocBook V4.1: - -Markup: - -- RFE 17: Added a common attribute 'Condition' for generic effectivity -- RFE 38: The nav.class elements (ToC|LoT|Index|Glossary|Bibliography) are - now allowed at the beginning and end of components and sections -- RFE 58: The 'optmult' and 'reqmult' attribute values have been - removed from Group -- RFE 65: Added several class attribute values to Filename and SystemItem - at the request of the Linux community -- RFE 73: Removed BookBiblio and SeriesInfo -- RFE 81: Added SidebarInfo to Sidebar -- RFE 87: Added 'xmlpi' and 'emptytag' as class values of SGMLTag -- RFE 92: Added 'CO' to Synopsis and LiteralLayout -- RFE 99: Added SimpleMsgEntry as an alternative to MsgEntry in order - to provide a simpler MsgSet construct -- RFE 103: Added RevDescription as an alternative to RevRemark in - RevHistory; this allows longer descriptive text in a revision -- RFE 104: Added 'Specification' to the list of document classes on Article -- RFE 108: Allow admonitions in Answers -- RFE 110: Allow a RevHistory on QandAEntry -- RFE 115: Allow optional Title on OrderedList and ItemizedList -- RFE 116: Added LineNumbering attribute to linespecific environments for - presentation of line numbers -- Added a common attribute 'Security' for effectivity -- Added synopsis markup for modern programming languages (e.g, object - oriented languages like Java, C++, and IDL) -- Renamed DocInfo to PrefaceInfo, ChapterInfo, AppendixInfo, etc. -- Comment was renamed Remark -- InterfaceDefinition was removed - -Other: - -- RFE 88: Added PEs to include/ignore dbnotn.mod and dbcent.mod -- RFE 102: Fixed some outstanding namecase problems -- RFE 105: Added PNG notation -- RFE 106: Removed some odd *.content PEs that interfered with - customization layers -- RFE 109: Added FPI to content of dbgenent.mod (for consistency) -- RFE 111: Added the Euro symbol -- Fixed bug in cals-tbl.dtd; a model group was used for the element - declaration, but the attlist declaration used "Table" literally. diff --git a/docs/docbook/dbsgml/41chg.txt b/docs/docbook/dbsgml/41chg.txt deleted file mode 100644 index d2a9147887..0000000000 --- a/docs/docbook/dbsgml/41chg.txt +++ /dev/null @@ -1,7 +0,0 @@ -19 June 2000 - -Changes from DocBook V4.0 to DocBook V4.1: - -No user-visible changes; removed some 4.0 future use comments that had -accidentally been left in the DTD and fixed a couple of incorrect FPIs. -See 40chg.txt for a list of the significant changes. diff --git a/docs/docbook/dbsgml/50issues.txt b/docs/docbook/dbsgml/50issues.txt deleted file mode 100644 index 31497420f0..0000000000 --- a/docs/docbook/dbsgml/50issues.txt +++ /dev/null @@ -1,39 +0,0 @@ -19 June 2000 - -Backwards-incompatible changes to DocBook that are planned for V5.0: - -- DocBook V5.0 will be an XML DTD. This will require a wide range of - changes. As a result, DocBook V5.0 will more closely resemble - The XML version of DocBook V4.1 than the SGML version. - -- Parameter entity reorganization may greatly reduce many - content models. The goal of this effort is to remove a large - number of spurious elements that snuck into content models - during the first PE reorg, in practice these changes should have - very little "real world" impact. - -- The Coords attribute will be removed from AreaSet. - -- ArtHeader will be dropped from BiblioEntry - -- Contents attribute will be removed from BookInfo and SetInfo - -- The %indexdivcomponent.mix; will be restricted. Numbered figures - and other elements inappropriate for an Index or SetIndex will be - removed. - -- RevHistory will be removed from GlossTerm - -- Constant Class will be removed from SystemItem - -- Graphic and InlineGraphic will be removed - -- Tables will be restricted from full CALS to the OASIS Exchange model - -- An experimental XML Schema version of DocBook 5.0 will be - produced in parallel with the DTD version. It will be - backwards-incompatible in an unspecified number of ways. The - goal of the effort will be that most DocBook documents that - validate under the DTD will also validate under the Schema, - but the committee does not feel bound to guarantee this - condition. diff --git a/docs/docbook/dbsgml/ChangeLog b/docs/docbook/dbsgml/ChangeLog deleted file mode 100644 index c4673db15a..0000000000 --- a/docs/docbook/dbsgml/ChangeLog +++ /dev/null @@ -1,85 +0,0 @@ -2000-06-19 Norman Walsh - - * 40chg.txt: Added notes about comment and interfacedefinition - - * 41chg.txt: New file. - - * 50issues.txt, dbcent.mod, dbgenent.mod, dbhier.mod, dbnotn.mod, dbpool.mod, docbook.cat, docbook.dcl, readme.txt: - Updated version numbers to 4.1 - - * dbhier.mod, dbpool.mod: Removed 4.0 future use comments - - * docbook.cat: Fixed version number in comment - - * docbook.dtd: DocBook V4.1 released. - -2000-05-18 Norman Walsh - - * 40chg.txt, dbcent.mod, dbgenent.mod, dbhier.mod, dbnotn.mod, dbpool.mod, docbook.cat, docbook.dcl, docbook.dtd, readme.txt: - Removed references to beta6 - - * docbook.dtd: DocBook V4.0 released. - -2000-04-10 Norman Walsh - - * 40chg.txt, dbcent.mod, dbgenent.mod, dbhier.mod, dbnotn.mod, dbpool.mod, docbook.cat, docbook.dcl, docbook.dtd, readme.txt: - Updated release date and version to 4.0beta6 - - * dbpool.mod: Added support for EBNF hook; fixed equation content bug - -2000-04-03 Norman Walsh - - * 40chg.txt: Added note about renaming DocInfo to *Info. - - * 40chg.txt, dbcent.mod, dbgenent.mod, dbhier.mod, dbnotn.mod, dbpool.mod, docbook.cat, docbook.dcl, docbook.dtd, readme.txt: - Updated version numbers - -2000-03-24 Norman Walsh - - * 40chg.txt, dbcent.mod, dbgenent.mod, dbhier.mod, dbnotn.mod, dbpool.mod, docbook.cat, docbook.dcl, docbook.dtd, readme.txt: - Updated version numbers - - * 50issues.txt: Added note about PE reorg - - * dbefsyn.mod: Removed - - * dbpool.mod: Removed ELEMENT from comments to ease text searching of the DTD. - Merged dbefsyn.mod into dbpool.mod - Added Modifier as an optional element at the end of MethodSynopsis - and MethodParam. - -2000-03-07 Norman Walsh - - * 40chg.txt, dbcent.mod, dbgenent.mod, dbhier.mod, dbnotn.mod, dbpool.mod, docbook.cat, docbook.dcl, docbook.dtd, readme.txt: - Updated internal versions to beta3 - -2000-03-03 Norman Walsh - - * dbpool.mod: Removed erroneous comment about inline synopses - -2000-03-02 Norman Walsh - - * 30chg.txt, 31chg.txt, 40issues.txt, 50issues.txt, announce.txt, cals-tbl.dtd, dbcent.mod, dbgenent.mod, dbhier.mod, dbnotn.mod, dbpool.mod, docbook.cat, docbook.dcl, docbook.dtd, readme.txt: - Version 3.1 - - * 30chg.txt, 40issues.txt, announce.txt, cals-tbl.dtd, dbgenent.mod, dbhier.mod, dbpool.mod, docbook.cat, docbook.dcl, docbook.dtd: - branches: 1.1.1; - Initial revision - - * 30chg.txt, 40issues.txt, announce.txt, cals-tbl.dtd, dbgenent.mod, dbhier.mod, dbpool.mod, docbook.cat, docbook.dcl, docbook.dtd: - New file. - - * 31chg.txt, 40chg.txt, 40issues.txt, 50issues.txt, cals-tbl.dtd, dbcent.mod, dbefsyn.mod, dbgenent.mod, dbhier.mod, dbnotn.mod, dbpool.mod, docbook.cat, docbook.dcl, docbook.dtd, readme.txt: - Version 4.0beta2 - - * 50issues.txt: Added warning about exchange table model - - * dbefsyn.mod, dbpool.mod: Added ooclass, oointerface, and ooexception as wrappers for modifiers - and names in classsynopsis. Also allow them inline. - - Fixed SGML PE parsing problem with hook PEs. - - * dbhier.mod, dbpool.mod: Added hook PEs for future module extension - - * dbpool.mod, docbook.dtd: Removed reference to sgml-features PE - diff --git a/docs/docbook/dbsgml/cals-tbl.dtd b/docs/docbook/dbsgml/cals-tbl.dtd deleted file mode 100644 index 78c7d5a3ae..0000000000 --- a/docs/docbook/dbsgml/cals-tbl.dtd +++ /dev/null @@ -1,330 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/docs/docbook/dbsgml/catalog b/docs/docbook/dbsgml/catalog deleted file mode 100644 index 521e8201c8..0000000000 --- a/docs/docbook/dbsgml/catalog +++ /dev/null @@ -1,63 +0,0 @@ - -- ...................................................................... -- - -- Catalog data for DocBook V4.1 ........................................ -- - -- File docbook.cat ..................................................... -- - - -- Please direct all questions, bug reports, or suggestions for - changes to the docbook@lists.oasis-open.org mailing list. For more - information, see http://www.oasis-open.org/. - -- - - -- This is the catalog data file for DocBook V4.1. It is provided as - a convenience in building your own catalog files. You need not use - the filenames listed here, and need not use the filename method of - identifying storage objects at all. See the documentation for - detailed information on the files associated with the DocBook DTD. - See SGML Open Technical Resolution 9401 for detailed information - on supplying and using catalog data. - -- - - -- ...................................................................... -- - -- SGML declaration associated with DocBook ............................. -- - -DTDDECL "-//OASIS//DTD DocBook V4.1//EN" "docbook.dcl" - - -- ...................................................................... -- - -- DocBook driver file .................................................. -- - -PUBLIC "-//OASIS//DTD DocBook V4.1//EN" "docbook.dtd" - - -- ...................................................................... -- - -- DocBook modules ...................................................... -- - -PUBLIC "-//USA-DOD//DTD Table Model 951010//EN" "cals-tbl.dtd" -PUBLIC "-//OASIS//ELEMENTS DocBook Information Pool V4.1//EN" "dbpool.mod" -PUBLIC "-//OASIS//ELEMENTS DocBook Document Hierarchy V4.1//EN" "dbhier.mod" -PUBLIC "-//OASIS//ENTITIES DocBook Additional General Entities V4.1//EN" "dbgenent.mod" -PUBLIC "-//OASIS//ENTITIES DocBook Notations V4.1//EN" "dbnotn.mod" -PUBLIC "-//OASIS//ENTITIES DocBook Character Entities V4.1//EN" "dbcent.mod" - - -- ...................................................................... -- - -- ISO entity sets ...................................................... -- - -PUBLIC "ISO 8879:1986//ENTITIES Diacritical Marks//EN" "ent/ISOdia" -PUBLIC "ISO 8879:1986//ENTITIES Numeric and Special Graphic//EN" "ent/ISOnum" -PUBLIC "ISO 8879:1986//ENTITIES Publishing//EN" "ent/ISOpub" -PUBLIC "ISO 8879:1986//ENTITIES General Technical//EN" "ent/ISOtech" -PUBLIC "ISO 8879:1986//ENTITIES Added Latin 1//EN" "ent/ISOlat1" -PUBLIC "ISO 8879:1986//ENTITIES Added Latin 2//EN" "ent/ISOlat2" -PUBLIC "ISO 8879:1986//ENTITIES Greek Letters//EN" "ent/ISOgrk1" -PUBLIC "ISO 8879:1986//ENTITIES Monotoniko Greek//EN" "ent/ISOgrk2" -PUBLIC "ISO 8879:1986//ENTITIES Greek Symbols//EN" "ent/ISOgrk3" -PUBLIC "ISO 8879:1986//ENTITIES Alternative Greek Symbols//EN" "ent/ISOgrk4" -PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Arrow Relations//EN" "ent/ISOamsa" -PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Binary Operators//EN" "ent/ISOamsb" -PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Delimiters//EN" "ent/ISOamsc" -PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Negated Relations//EN" "ent/ISOamsn" -PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Ordinary//EN" "ent/ISOamso" -PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Relations//EN" "ent/ISOamsr" -PUBLIC "ISO 8879:1986//ENTITIES Box and Line Drawing//EN" "ent/ISObox" -PUBLIC "ISO 8879:1986//ENTITIES Russian Cyrillic//EN" "ent/ISOcyr1" -PUBLIC "ISO 8879:1986//ENTITIES Non-Russian Cyrillic//EN" "ent/ISOcyr2" - - -- End of catalog data for DocBook V4.1 ................................. -- - -- ...................................................................... -- diff --git a/docs/docbook/dbsgml/dbcent.mod b/docs/docbook/dbsgml/dbcent.mod deleted file mode 100755 index 7f05211019..0000000000 --- a/docs/docbook/dbsgml/dbcent.mod +++ /dev/null @@ -1,181 +0,0 @@ - - - - - - - - - - - - - - -%ISOamsa; -]]> - - - -%ISOamsb; -]]> - - - -%ISOamsc; -]]> - - - -%ISOamsn; -]]> - - - -%ISOamso; -]]> - - - -%ISOamsr; -]]> - - - -%ISObox; -]]> - - - -%ISOcyr1; -]]> - - - -%ISOcyr2; -]]> - - - -%ISOdia; -]]> - - - -%ISOgrk1; -]]> - - - -%ISOgrk2; -]]> - - - -%ISOgrk3; -]]> - - - -%ISOgrk4; -]]> - - - -%ISOlat1; -]]> - - - -%ISOlat2; -]]> - - - -%ISOnum; -]]> - - - -%ISOpub; -]]> - - - -%ISOtech; -]]> diff --git a/docs/docbook/dbsgml/dbgenent.mod b/docs/docbook/dbsgml/dbgenent.mod deleted file mode 100644 index b60c5b2714..0000000000 --- a/docs/docbook/dbsgml/dbgenent.mod +++ /dev/null @@ -1,39 +0,0 @@ - - - - - - - - - - - diff --git a/docs/docbook/dbsgml/dbhier.mod b/docs/docbook/dbsgml/dbhier.mod deleted file mode 100755 index 10e1f3f33f..0000000000 --- a/docs/docbook/dbsgml/dbhier.mod +++ /dev/null @@ -1,2100 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -]]> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -]]> - - - - - - - - - - - - - - - - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - - -]]> -]]> -]]> - - - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - - -]]> -]]> -]]> - - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> -]]> - - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - - -]]> - - - -]]> - -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> - -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> -]]> - - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> -]]> - - - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> -]]> - - - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> -]]> - - - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> -]]> - - - - - - - - - - - - -]]> - - - -]]> -]]> - - - diff --git a/docs/docbook/dbsgml/dbnotn.mod b/docs/docbook/dbsgml/dbnotn.mod deleted file mode 100755 index b980630bba..0000000000 --- a/docs/docbook/dbsgml/dbnotn.mod +++ /dev/null @@ -1,97 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/docs/docbook/dbsgml/dbpool.mod b/docs/docbook/dbsgml/dbpool.mod deleted file mode 100755 index 3867d070e8..0000000000 --- a/docs/docbook/dbsgml/dbpool.mod +++ /dev/null @@ -1,7396 +0,0 @@ - - - - - - - - - - - - - - - - -]]> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -]]> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -]]> - - - - - - - - - - - - - - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - - - - - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> -]]> - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> -]]> - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> -]]> - - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> -]]> - - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> -]]> - - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> - -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> -]]> - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> -]]> - - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> -]]> - - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - -]]> - - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> -]]> - - - - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> - -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - - -]]> -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> - -]]> - - - - - - - -]]> - - - -]]> - - -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> -]]> - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> - - -]]> - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> -]]> - - - - - - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -%calstbls; -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - - - - - -]]> - - - -]]> - - -]]> - - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - -]]> - - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - -]]> - - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> -]]> - - - - - - - - - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> - ]]> - - - - - - - -]]> - - - -]]> - ]]> - - - - - - - -]]> - - - -]]> - ]]> - - - - - - - -]]> - - - -]]> - ]]> - - - - - - - -]]> - - - -]]> - ]]> - - - - - - - -]]> - - - -]]> - ]]> - - - - - - - -]]> - - - -]]> - ]]> - - - - - - - -]]> - - - -]]> - ]]> - - - - - - - - - -]]> - - - -]]> - ]]> -]]> - - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> - ]]> - - - - - - - -]]> - - - -]]> - ]]> - - - - - - - - - -]]> - - - -]]> - ]]> - - -]]> - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - - -]]> - - - -]]> - -]]> - - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - - - - -]]> - - - -]]> - ]]> - - - - - - - -]]> - - - -]]> - ]]> - - - ]]> - - - - -]]> - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> - ]]> - - - - - - - -]]> - - - -]]> - ]]> - - - - - - - -]]> - - - -]]> - ]]> - - - - - - - - - -]]> - - - -]]> - ]]> -]]> - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> - ]]> - - - - - - - -]]> - - - -]]> - ]]> -]]> - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - - -]]> -]]> - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - - -]]> - - - -]]> - -]]> - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - - -]]> - - - -]]> - -]]> - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - - - - - -]]> - - - -]]> - ]]> - - - - - - - -]]> - - - -]]> - ]]> - - - - - - - -]]> - - - -]]> - ]]> - - - - - - - -]]> - - - -]]> - ]]> - - - - - - - -]]> - - - -]]> - ]]> - - - - - - - -]]> - - - -]]> - ]]> -]]> - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> - ]]> - - -]]> - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> - ]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> -]]> - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - - -]]> - - - -]]> -]]> - - - -]]> - - - - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - - -]]> -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> -]]> - - - diff --git a/docs/docbook/dbsgml/docbook.cat b/docs/docbook/dbsgml/docbook.cat deleted file mode 100644 index 0f285d0d75..0000000000 --- a/docs/docbook/dbsgml/docbook.cat +++ /dev/null @@ -1,63 +0,0 @@ - -- ...................................................................... -- - -- Catalog data for DocBook V4.1 ........................................ -- - -- File docbook.cat ..................................................... -- - - -- Please direct all questions, bug reports, or suggestions for - changes to the docbook@lists.oasis-open.org mailing list. For more - information, see http://www.oasis-open.org/. - -- - - -- This is the catalog data file for DocBook V4.1. It is provided as - a convenience in building your own catalog files. You need not use - the filenames listed here, and need not use the filename method of - identifying storage objects at all. See the documentation for - detailed information on the files associated with the DocBook DTD. - See SGML Open Technical Resolution 9401 for detailed information - on supplying and using catalog data. - -- - - -- ...................................................................... -- - -- SGML declaration associated with DocBook ............................. -- - -DTDDECL "-//OASIS//DTD DocBook V4.1//EN" "docbook.dcl" - - -- ...................................................................... -- - -- DocBook driver file .................................................. -- - -PUBLIC "-//OASIS//DTD DocBook V4.1//EN" "docbook.dtd" - - -- ...................................................................... -- - -- DocBook modules ...................................................... -- - -PUBLIC "-//USA-DOD//DTD Table Model 951010//EN" "cals-tbl.dtd" -PUBLIC "-//OASIS//ELEMENTS DocBook Information Pool V4.1//EN" "dbpool.mod" -PUBLIC "-//OASIS//ELEMENTS DocBook Document Hierarchy V4.1//EN" "dbhier.mod" -PUBLIC "-//OASIS//ENTITIES DocBook Additional General Entities V4.1//EN" "dbgenent.mod" -PUBLIC "-//OASIS//ENTITIES DocBook Notations V4.1//EN" "dbnotn.mod" -PUBLIC "-//OASIS//ENTITIES DocBook Character Entities V4.1//EN" "dbcent.mod" - - -- ...................................................................... -- - -- ISO entity sets ...................................................... -- - -PUBLIC "ISO 8879:1986//ENTITIES Diacritical Marks//EN" "ISOdia" -PUBLIC "ISO 8879:1986//ENTITIES Numeric and Special Graphic//EN" "ISOnum" -PUBLIC "ISO 8879:1986//ENTITIES Publishing//EN" "ISOpub" -PUBLIC "ISO 8879:1986//ENTITIES General Technical//EN" "ISOtech" -PUBLIC "ISO 8879:1986//ENTITIES Added Latin 1//EN" "ISOlat1" -PUBLIC "ISO 8879:1986//ENTITIES Added Latin 2//EN" "ISOlat2" -PUBLIC "ISO 8879:1986//ENTITIES Greek Letters//EN" "ISOgrk1" -PUBLIC "ISO 8879:1986//ENTITIES Monotoniko Greek//EN" "ISOgrk2" -PUBLIC "ISO 8879:1986//ENTITIES Greek Symbols//EN" "ISOgrk3" -PUBLIC "ISO 8879:1986//ENTITIES Alternative Greek Symbols//EN" "ISOgrk4" -PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Arrow Relations//EN" "ISOamsa" -PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Binary Operators//EN" "ISOamsb" -PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Delimiters//EN" "ISOamsc" -PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Negated Relations//EN" "ISOamsn" -PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Ordinary//EN" "ISOamso" -PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Relations//EN" "ISOamsr" -PUBLIC "ISO 8879:1986//ENTITIES Box and Line Drawing//EN" "ISObox" -PUBLIC "ISO 8879:1986//ENTITIES Russian Cyrillic//EN" "ISOcyr1" -PUBLIC "ISO 8879:1986//ENTITIES Non-Russian Cyrillic//EN" "ISOcyr2" - - -- End of catalog data for DocBook V4.1 ................................. -- - -- ...................................................................... -- diff --git a/docs/docbook/dbsgml/docbook.dcl b/docs/docbook/dbsgml/docbook.dcl deleted file mode 100644 index c76de206cf..0000000000 --- a/docs/docbook/dbsgml/docbook.dcl +++ /dev/null @@ -1,106 +0,0 @@ - diff --git a/docs/docbook/dbsgml/docbook.dtd b/docs/docbook/dbsgml/docbook.dtd deleted file mode 100755 index 4d784cc43f..0000000000 --- a/docs/docbook/dbsgml/docbook.dtd +++ /dev/null @@ -1,117 +0,0 @@ - - - - - - - - - - - - - - - -%dbnotn; -]]> - - - - - - - -%dbcent; -]]> - - - - - - - - -%dbpool; -]]> - - - - -]]> - - - - - -%dbhier; -]]> - - - - - - -%dbgenent; -]]> - - - diff --git a/docs/docbook/dbsgml/ent/ISOamsa b/docs/docbook/dbsgml/ent/ISOamsa deleted file mode 100644 index b77154cb02..0000000000 --- a/docs/docbook/dbsgml/ent/ISOamsa +++ /dev/null @@ -1,66 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/docs/docbook/dbsgml/ent/ISOamsb b/docs/docbook/dbsgml/ent/ISOamsb deleted file mode 100644 index 43944a732f..0000000000 --- a/docs/docbook/dbsgml/ent/ISOamsb +++ /dev/null @@ -1,52 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/docs/docbook/dbsgml/ent/ISOamsc b/docs/docbook/dbsgml/ent/ISOamsc deleted file mode 100644 index 06222d58cf..0000000000 --- a/docs/docbook/dbsgml/ent/ISOamsc +++ /dev/null @@ -1,20 +0,0 @@ - - - - - - - - - - - - diff --git a/docs/docbook/dbsgml/ent/ISOamsn b/docs/docbook/dbsgml/ent/ISOamsn deleted file mode 100644 index 0c8327a326..0000000000 --- a/docs/docbook/dbsgml/ent/ISOamsn +++ /dev/null @@ -1,70 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/docs/docbook/dbsgml/ent/ISOamso b/docs/docbook/dbsgml/ent/ISOamso deleted file mode 100644 index ad9b329e54..0000000000 --- a/docs/docbook/dbsgml/ent/ISOamso +++ /dev/null @@ -1,29 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - diff --git a/docs/docbook/dbsgml/ent/ISOamsr b/docs/docbook/dbsgml/ent/ISOamsr deleted file mode 100644 index 3f26c345c0..0000000000 --- a/docs/docbook/dbsgml/ent/ISOamsr +++ /dev/null @@ -1,94 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/docs/docbook/dbsgml/ent/ISObox b/docs/docbook/dbsgml/ent/ISObox deleted file mode 100644 index 643e926eda..0000000000 --- a/docs/docbook/dbsgml/ent/ISObox +++ /dev/null @@ -1,62 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/docs/docbook/dbsgml/ent/ISOcyr1 b/docs/docbook/dbsgml/ent/ISOcyr1 deleted file mode 100644 index 97b961b1f0..0000000000 --- a/docs/docbook/dbsgml/ent/ISOcyr1 +++ /dev/null @@ -1,77 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/docs/docbook/dbsgml/ent/ISOcyr2 b/docs/docbook/dbsgml/ent/ISOcyr2 deleted file mode 100644 index 480b01c1df..0000000000 --- a/docs/docbook/dbsgml/ent/ISOcyr2 +++ /dev/null @@ -1,36 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/docs/docbook/dbsgml/ent/ISOdia b/docs/docbook/dbsgml/ent/ISOdia deleted file mode 100644 index 3b6f98d6ba..0000000000 --- a/docs/docbook/dbsgml/ent/ISOdia +++ /dev/null @@ -1,24 +0,0 @@ - - - - - - - - - - - - - - - - diff --git a/docs/docbook/dbsgml/ent/ISOgrk1 b/docs/docbook/dbsgml/ent/ISOgrk1 deleted file mode 100644 index dea16bf8ef..0000000000 --- a/docs/docbook/dbsgml/ent/ISOgrk1 +++ /dev/null @@ -1,59 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/docs/docbook/dbsgml/ent/ISOgrk2 b/docs/docbook/dbsgml/ent/ISOgrk2 deleted file mode 100644 index 657bb99935..0000000000 --- a/docs/docbook/dbsgml/ent/ISOgrk2 +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - diff --git a/docs/docbook/dbsgml/ent/ISOgrk3 b/docs/docbook/dbsgml/ent/ISOgrk3 deleted file mode 100644 index f76c3a084f..0000000000 --- a/docs/docbook/dbsgml/ent/ISOgrk3 +++ /dev/null @@ -1,53 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/docs/docbook/dbsgml/ent/ISOgrk4 b/docs/docbook/dbsgml/ent/ISOgrk4 deleted file mode 100644 index e4427a0cb5..0000000000 --- a/docs/docbook/dbsgml/ent/ISOgrk4 +++ /dev/null @@ -1,53 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/docs/docbook/dbsgml/ent/ISOlat1 b/docs/docbook/dbsgml/ent/ISOlat1 deleted file mode 100644 index 0d7d0a7d93..0000000000 --- a/docs/docbook/dbsgml/ent/ISOlat1 +++ /dev/null @@ -1,72 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/docs/docbook/dbsgml/ent/ISOlat2 b/docs/docbook/dbsgml/ent/ISOlat2 deleted file mode 100644 index 4bcb337832..0000000000 --- a/docs/docbook/dbsgml/ent/ISOlat2 +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/docs/docbook/dbsgml/ent/ISOnum b/docs/docbook/dbsgml/ent/ISOnum deleted file mode 100644 index d7b41c33ae..0000000000 --- a/docs/docbook/dbsgml/ent/ISOnum +++ /dev/null @@ -1,91 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/docs/docbook/dbsgml/ent/ISOpub b/docs/docbook/dbsgml/ent/ISOpub deleted file mode 100644 index c184973cfd..0000000000 --- a/docs/docbook/dbsgml/ent/ISOpub +++ /dev/null @@ -1,100 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/docs/docbook/dbsgml/ent/ISOtech b/docs/docbook/dbsgml/ent/ISOtech deleted file mode 100644 index cbda344869..0000000000 --- a/docs/docbook/dbsgml/ent/ISOtech +++ /dev/null @@ -1,73 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/docs/docbook/dbsgml/readme.txt b/docs/docbook/dbsgml/readme.txt deleted file mode 100644 index 52d3f9f4aa..0000000000 --- a/docs/docbook/dbsgml/readme.txt +++ /dev/null @@ -1,12 +0,0 @@ -README for DocBook V4.1 - -This is DocBook V4.1, released 19 June 2000. - -See 40chg.txt for information about what has changed since DocBook 3.1. - -For more information about DocBook, please see - - http://www.oasis-open.org/docbook/ - -Please send all questions, comments, concerns, and bug reports to the -DocBook mailing list: docbook@lists.oasis-open.org diff --git a/docs/docbook/docbook.txt b/docs/docbook/docbook.txt index 388cd5cf9b..019b073b51 100644 --- a/docs/docbook/docbook.txt +++ b/docs/docbook/docbook.txt @@ -1,8 +1,9 @@ !== -!== docbook.txt for Samba 2.2.0 release +!== docbook.txt for Samba HEAD !== !== Author: David Bannon, D.Bannon@latrobe.edu.au November, 2000 !== Updates: Gerald (Jerry) Carter, jerry@samba.org, Feb. 2001 +!== Updates: Jelmer Vernooij, jelmer@samba.org, Aug, 2002 What are DocBook documents doing in the Samba Distribution ? ----------------------------------------------------------- @@ -44,93 +45,17 @@ as the following autogenerated formats * man pages * HTML * ASCII text (where appropriate) + * PDF The Tools --------- -[ - addendum: For a good general overview of installing the tools - needed for generating files from SGML/DocBook source, refer - to the DocBook-Install mini HOWTO at - http://www.ibiblio.org/pub/Linux/docs/HOWTO/mini/DocBook-Install +To generate the docs, you need to have the following packages installed: - While the above link is to a Linux HOWTO, the tools can be installed - on almost any UNIX platform. - - David's original notes follow below: -] - -Any sgml document needs to be referred to a suitable style sheet -(describing syntax) and other sheets that tell the translating programmes -how to do the translations. The list of necessary 'included files is a -bit messy but once installed is pretty easy. - -On one of my RedHat 6.2 systems I installed the following: -* sgml-common (as an rpm) -* docbook (as an rpm) -* stylesheets (as an rpm) -* jade (as an rpm) -* Docbook 4.1 from http://docbook.org -* DSSSL 157 from http://nwalsh.com/docbook/dsssl/ - -There are several downloadable descriptions of the DocBook syntax at the -web sites mentioned above. Note that a lot of the docs only talk about -version 3.1 with 4.1 as an add-on. - -In either case you will need to include in the html/docbook.dsl and most -likely a couple of defines to achieve a suitable output. I made a -local dsl file that I called html.dsl that looks like this : - - -]> - - - - - -(define nochunks #t) ;; Dont make multiple pages -(define rootchunk #t) ;; Do make a 'root' page -(define %use-id-as-filename% #t) ;; Use book id as filename -(define %html-ext% ".html") ;; give it a proper html extension - - - - - - -Note the top block that refers to where the dsssl-157 style sheets are -installed, if you don’t put them there make sure you edit the file. - -To use this stylesheet, have it in your working directory along with your -sgml files. Jade does the actual conversion to html, call it like this : - -jade -t sgml -d html.dsl stuff.sgml - -To create the text version run the html through lynx : - -Lynx -dump -nolist stuff.html > stuff.txt - -These instructions are crude by might help someone get going. Please feel -free to contact me if you have any questions or if you can correct any one -of the many mistakes I must have made above. - -David - -========================================================================== +* docbook-utils +* htmldoc This directory now contains a ./configure script and Makefile to -support the automated building of man pages (including HTML versions). -The DocBook V4.1 DTD and ISO entity files have also been included in CVS -to make sure we are all working from the same plate. - -The SGML_CATALOG_FILES environment variable should be set as follows -(this assumes you have a working local installation of jade and -Norman's Walsh's DSSSL stylesheets): - - export SGML_CATALOG_FILES=$SGML_CATALOG_FILES:./dbsgml/catalog - - ---jerry +support the automated building of man pages (including HTML versions), and +the building of the Samba-HOWTO-Collection (HTML,PDF,PS,Text versions). diff --git a/docs/docbook/scripts/README.ldp_print b/docs/docbook/scripts/README.ldp_print deleted file mode 100644 index 8d61a85534..0000000000 --- a/docs/docbook/scripts/README.ldp_print +++ /dev/null @@ -1,60 +0,0 @@ - -###################################################################### - ldp_print - print tool/script for DocBook SGML/XML documents -###################################################################### - -This process/script is used in the production environment for the -LDP. It relies on the HTMLDOC software package (GPL'ed) which can be -obtained from the Easy Software Products (c) web site: - - http://www.easysw.com/htmldoc/ - -This process creates a PDF variant from the single-file HTML -representation of a DocBook SGML (or XML) instance. The simple -wrapper script (ldp_print) assumes that the file was created using -{open}jade in a manner similar to: - - jade -t sgml -i html -V nochunks -d $style $fname > $fname.html - -Give the script the filename as an argument. It will then parse the -file into 'title.html' and 'body.html' and send each to htmldoc (as -the corresponding title page and body of the document). - - -CAVEATS -======= - -o Assumes perl is in /usr/bin; adjust if necessary - -o You may need to specify where the htmldoc executable resides. - The script assumes it's within your $PATH. - -o If you want Postscript as an output variant, uncomment the - appropriate lines (see below). - -o Relies on output from a DocBook instance created via DSSSL/{open}jade! - -o Cleans up (removes) the intermediate files it creates (but not the - PDF or Postscript files, obviously!) - -o Works silently; PDF (PostScript) will be created in the same directory - as was specified for the input (single-file HTML) file. - -o Provided without warranty or support! - -o I ran into a problem with htmldoc v1.8.8 which required a source - code change (I was getting a core dump from the htmldoc process). - Here is the change required: - - htmldoc/ps-pdf.cxx : - 3662,3665d3661 - < /* gjf = 11Oct2000 */ - < if( temprow == NULL ) - < break; - < - - -==== -gferg (at) sgi.com / Ferg -11 Jan 2000 - diff --git a/docs/docbook/scripts/collateindex.pl b/docs/docbook/scripts/collateindex.pl deleted file mode 100644 index fd757edb32..0000000000 --- a/docs/docbook/scripts/collateindex.pl +++ /dev/null @@ -1,595 +0,0 @@ -# -*- Perl -*- -# - -use Getopt::Std; - -$usage = "Usage: $0 file -Where are: - -p Link to points in the document. The default is to link - to the closest containing section. - -g Group terms with IndexDiv based on the first letter - of the term (or its sortas attribute). - (This probably doesn't handle i10n particularly well) - -s name Name the IndexDiv that contains symbols. The default - is 'Symbols'. Meaningless if -g is not used. - -t name Title for the index. - -P file Read a preamble from file. The content of file will - be inserted before the tag. - -i id The ID for the tag. - -o file Output to file. Defaults to stdout. - -S scope Scope of the index, must be 'all', 'local', or 'global'. - If unspecified, 'all' is assumed. - -I scope The implied scope, must be 'all', 'local', or 'global'. - IndexTerms which do not specify a scope will have the - implied scope. If unspecified, 'all' is assumed. - -x Make a SetIndex. - -f Force the output file to be written, even if it appears - to have been edited by hand. - -N New index (generates an empty index file). - file The file containing index data generated by Jade - with the DocBook HTML Stylesheet.\n"; - -die $usage if ! getopts('Dfgi:NpP:s:o:S:I:t:x'); - -$linkpoints = $opt_p; -$lettergroups = $opt_g; -$symbolsname = $opt_s || "Symbols"; -$title = $opt_t; -$preamble = $opt_P; -$outfile = $opt_o || '-'; -$indexid = $opt_i; -$scope = uc($opt_S) || 'ALL'; -$impliedscope = uc($opt_I) || 'ALL'; -$setindex = $opt_x; -$forceoutput = $opt_f; -$newindex = $opt_N; -$debug = $opt_D; - -$indextag = $setindex ? 'setindex' : 'index'; - -if ($newindex) { - safe_open(*OUT, $outfile); - if ($indexid) { - print OUT "<$indextag id='$indexid'>\n\n"; - } else { - print OUT "<$indextag>\n\n"; - } - - print OUT "\n"; - print OUT "\n"; - - print OUT "\n"; - exit 0; -} - -$dat = shift @ARGV || die $usage; -die "$0: cannot find $dat.\n" if ! -f $dat; - -%legal_scopes = ('ALL' => 1, 'LOCAL' => 1, 'GLOBAL' => 1); -if ($scope && !$legal_scopes{$scope}) { - die "Invalid scope.\n$usage\n"; -} -if ($impliedscope && !$legal_scopes{$impliedscope}) { - die "Invalid implied scope.\n$usage\n"; -} - -@term = (); -%id = (); - -$termcount = 0; - -print STDERR "Processing $dat...\n"; - -# Read the index file, creating an array of objects. Each object -# represents and indexterm and has fields for the content of the -# indexterm - -open (F, $dat); -while () { - chop; - - if (/^\/indexterm/i) { - push (@term, $idx); - next; - } - - if (/^indexterm (.*)$/i) { - $termcount++; - $idx = {}; - $idx->{'zone'} = {}; - $idx->{'href'} = $1; - $idx->{'count'} = $termcount; - $idx->{'scope'} = $impliedscope; - next; - } - - if (/^indexpoint (.*)$/i) { - $idx->{'hrefpoint'} = $1; - next; - } - - if (/^title (.*)$/i) { - $idx->{'title'} = $1; - next; - } - - if (/^primary[\[ ](.*)$/i) { - if (/^primary\[(.*?)\] (.*)$/i) { - $idx->{'psortas'} = $1; - $idx->{'primary'} = $2; - } else { - $idx->{'psortas'} = $1; - $idx->{'primary'} = $1; - } - next; - } - - if (/^secondary[\[ ](.*)$/i) { - if (/^secondary\[(.*?)\] (.*)$/i) { - $idx->{'ssortas'} = $1; - $idx->{'secondary'} = $2; - } else { - $idx->{'ssortas'} = $1; - $idx->{'secondary'} = $1; - } - next; - } - - if (/^tertiary[\[ ](.*)$/i) { - if (/^tertiary\[(.*?)\] (.*)$/i) { - $idx->{'tsortas'} = $1; - $idx->{'tertiary'} = $2; - } else { - $idx->{'tsortas'} = $1; - $idx->{'tertiary'} = $1; - } - next; - } - - if (/^see (.*)$/i) { - $idx->{'see'} = $1; - next; - } - - if (/^seealso (.*)$/i) { - $idx->{'seealso'} = $1; - next; - } - - if (/^significance (.*)$/i) { - $idx->{'significance'} = $1; - next; - } - - if (/^class (.*)$/i) { - $idx->{'class'} = $1; - next; - } - - if (/^scope (.*)$/i) { - $idx->{'scope'} = uc($1); - next; - } - - if (/^startref (.*)$/i) { - $idx->{'startref'} = $1; - next; - } - - if (/^id (.*)$/i) { - $idx->{'id'} = $1; - $id{$1} = $idx; - next; - } - - if (/^zone (.*)$/i) { - my($href) = $1; - $_ = scalar(); - chop; - die "Bad zone: $_\n" if !/^title (.*)$/i; - $idx->{'zone'}->{$href} = $1; - next; - } - - die "Unrecognized: $_\n"; -} -close (F); - -print STDERR "$termcount entries loaded...\n"; - -# Fixup the startrefs... -# In DocBook, STARTREF is a #CONREF attribute; support this by copying -# all of the fields from the indexterm with the id specified by STARTREF -# to the indexterm that has the STARTREF. -foreach $idx (@term) { - my($ididx, $field); - if ($idx->{'startref'}) { - $ididx = $id{$idx->{'startref'}}; - foreach $field ('primary', 'secondary', 'tertiary', 'see', 'seealso', - 'psortas', 'ssortas', 'tsortas', 'significance', - 'class', 'scope') { - $idx->{$field} = $ididx->{$field}; - } - } -} - -# Sort the index terms -@term = sort termsort @term; - -# Move all of the non-alphabetic entries to the front of the index. -@term = sortsymbols(@term); - -safe_open(*OUT, $outfile); - -# Write the index... -if ($indexid) { - print OUT "<$indextag id='$indexid'>\n\n"; -} else { - print OUT "<$indextag>\n\n"; -} - -print OUT "\n"; -print OUT "\n"; - -print OUT "\n\n"; - -print OUT "$title\n\n" if $title; - -$last = {}; # the last indexterm we processed -$first = 1; # this is the first one -$group = ""; # we're not in a group yet -$lastout = ""; # we've not put anything out yet - -foreach $idx (@term) { - next if $idx->{'startref'}; # no way to represent spans... - next if ($idx->{'scope'} eq 'LOCAL') && ($scope eq 'GLOBAL'); - next if ($idx->{'scope'} eq 'GLOBAL') && ($scope eq 'LOCAL'); - next if &same($idx, $last); # suppress duplicates - - $termcount--; - - # If primary changes, output a whole new index term, otherwise just - # output another secondary or tertiary, as appropriate. We know from - # sorting that the terms will always be in the right order. - if (!&tsame($last, $idx, 'primary')) { - print "DIFF PRIM\n" if $debug; - &end_entry() if not $first; - - if ($lettergroups) { - # If we're grouping, make the right indexdivs - $letter = $idx->{'psortas'}; - $letter = $idx->{'primary'} if !$letter; - $letter = uc(substr($letter, 0, 1)); - - # symbols are a special case - if (($letter lt 'A') || ($letter gt 'Z')) { - if (($group eq '') - || (($group ge 'A') && ($group le 'Z'))) { - print OUT "\n" if !$first; - print OUT "$symbolsname\n\n"; - $group = $letter; - } - } elsif (($group eq '') || ($group ne $letter)) { - print OUT "\n" if !$first; - print OUT "$letter\n\n"; - $group = $letter; - } - } - - $first = 0; # there can only be on first ;-) - - print OUT "\n"; - print OUT " ", $idx->{'primary'}; - $lastout = "primaryie"; - - if ($idx->{'secondary'}) { - print OUT "\n \n"; - print OUT " ", $idx->{'secondary'}; - $lastout = "secondaryie"; - }; - - if ($idx->{'tertiary'}) { - print OUT "\n \n"; - print OUT " ", $idx->{'tertiary'}; - $lastout = "tertiaryie"; - } - } elsif (!&tsame($last, $idx, 'secondary')) { - print "DIFF SEC\n" if $debug; - - print OUT "\n \n" if $lastout; - - print OUT " ", $idx->{'secondary'}; - $lastout = "secondaryie"; - if ($idx->{'tertiary'}) { - print OUT "\n \n"; - print OUT " ", $idx->{'tertiary'}; - $lastout = "tertiaryie"; - } - } elsif (!&tsame($last, $idx, 'tertiary')) { - print "DIFF TERT\n" if $debug; - - print OUT "\n \n" if $lastout; - - if ($idx->{'tertiary'}) { - print OUT " ", $idx->{'tertiary'}; - $lastout = "tertiaryie"; - } - } - - &print_term($idx); - - $last = $idx; -} - -# Termcount is > 0 iff some entries were skipped. -print STDERR "$termcount entries ignored...\n"; - -&end_entry(); - -print OUT "\n" if $lettergroups; -print OUT "\n"; - -close (OUT); - -print STDERR "Done.\n"; - -sub same { - my($a) = shift; - my($b) = shift; - - my($aP) = $a->{'psortas'} || $a->{'primary'}; - my($aS) = $a->{'ssortas'} || $a->{'secondary'}; - my($aT) = $a->{'tsortas'} || $a->{'tertiary'}; - - my($bP) = $b->{'psortas'} || $b->{'primary'}; - my($bS) = $b->{'ssortas'} || $b->{'secondary'}; - my($bT) = $b->{'tsortas'} || $b->{'tertiary'}; - - my($same); - - $aP =~ s/^\s*//; $aP =~ s/\s*$//; $aP = uc($aP); - $aS =~ s/^\s*//; $aS =~ s/\s*$//; $aS = uc($aS); - $aT =~ s/^\s*//; $aT =~ s/\s*$//; $aT = uc($aT); - $bP =~ s/^\s*//; $bP =~ s/\s*$//; $bP = uc($bP); - $bS =~ s/^\s*//; $bS =~ s/\s*$//; $bS = uc($bS); - $bT =~ s/^\s*//; $bT =~ s/\s*$//; $bT = uc($bT); - -# print "[$aP]=[$bP]\n"; -# print "[$aS]=[$bS]\n"; -# print "[$aT]=[$bT]\n"; - - # Two index terms are the same if: - # 1. the primary, secondary, and tertiary entries are the same - # (or have the same SORTAS) - # AND - # 2. They occur in the same titled section - # AND - # 3. They point to the same place - # - # Notes: Scope is used to suppress some entries, but can't be used - # for comparing duplicates. - # Interpretation of "the same place" depends on whether or - # not $linkpoints is true. - - $same = (($aP eq $bP) - && ($aS eq $bS) - && ($aT eq $bT) - && ($a->{'title'} eq $b->{'title'}) - && ($a->{'href'} eq $b->{'href'})); - - # If we're linking to points, they're only the same if they link - # to exactly the same spot. (surely this is redundant?) - $same = $same && ($a->{'hrefpoint'} eq $b->{'hrefpoint'}) - if $linkpoints; - - $same; -} - -sub tsame { - # Unlike same(), tsame only compares a single term - my($a) = shift; - my($b) = shift; - my($term) = shift; - my($sterm) = substr($term, 0, 1) . "sortas"; - my($A, $B); - - $A = $a->{$sterm} || $a->{$term}; - $B = $b->{$sterm} || $b->{$term}; - - $A =~ s/^\s*//; $A =~ s/\s*$//; $A = uc($A); - $B =~ s/^\s*//; $B =~ s/\s*$//; $B = uc($B); - - return $A eq $B; -} - -sub end_entry { - # End any open elements... - print OUT "\n \n" if $lastout; - print OUT "\n\n"; - $lastout = ""; -} - -sub print_term { - # Print out the links for an indexterm. There can be more than - # one if the term has a ZONE that points to more than one place. - # (do we do the right thing in that case?) - my($idx) = shift; - my($key, $indent, @hrefs); - my(%href) = (); - my(%phref) = (); - - $indent = " "; - - if ($idx->{'see'}) { - # it'd be nice to make this a link... - if ($lastout) { - print OUT "\n \n"; - $lastout = ""; - } - print OUT $indent, "", $idx->{'see'}, "\n"; - return; - } - - if ($idx->{'seealso'}) { - # it'd be nice to make this a link... - if ($lastout) { - print OUT "\n \n"; - $lastout = ""; - } - print OUT $indent, "", $idx->{'seealso'}, "\n"; - return; - } - - if (keys %{$idx->{'zone'}}) { - foreach $key (keys %{$idx->{'zone'}}) { - $href{$key} = $idx->{'zone'}->{$key}; - $phref{$key} = $idx->{'zone'}->{$key}; - } - } else { - $href{$idx->{'href'}} = $idx->{'title'}; - $phref{$idx->{'href'}} = $idx->{'hrefpoint'}; - } - - # We can't use because we don't know the ID of the term in the - # original source (and, in fact, it might not have one). - print OUT ",\n"; - @hrefs = keys %href; - while (@hrefs) { - my($linkend) = ""; - my($role) = ""; - $key = shift @hrefs; - if ($linkpoints) { - $linkend = $phref{$key}; - } else { - $linkend = $key; - } - - $role = $linkend; - $role = $1 if $role =~ /\#(.*)$/; - - print OUT $indent; - print OUT ""; - print OUT "" if ($idx->{'significance'} eq 'PREFERRED'); - print OUT $href{$key}; - print OUT "" if ($idx->{'significance'} eq 'PREFERRED'); - print OUT ""; - } -} - -sub termsort { - my($aP) = $a->{'psortas'} || $a->{'primary'}; - my($aS) = $a->{'ssortas'} || $a->{'secondary'}; - my($aT) = $a->{'tsortas'} || $a->{'tertiary'}; - my($ap) = $a->{'count'}; - - my($bP) = $b->{'psortas'} || $b->{'primary'}; - my($bS) = $b->{'ssortas'} || $b->{'secondary'}; - my($bT) = $b->{'tsortas'} || $b->{'tertiary'}; - my($bp) = $b->{'count'}; - - $aP =~ s/^\s*//; $aP =~ s/\s*$//; $aP = uc($aP); - $aS =~ s/^\s*//; $aS =~ s/\s*$//; $aS = uc($aS); - $aT =~ s/^\s*//; $aT =~ s/\s*$//; $aT = uc($aT); - $bP =~ s/^\s*//; $bP =~ s/\s*$//; $bP = uc($bP); - $bS =~ s/^\s*//; $bS =~ s/\s*$//; $bS = uc($bS); - $bT =~ s/^\s*//; $bT =~ s/\s*$//; $bT = uc($bT); - - if ($aP eq $bP) { - if ($aS eq $bS) { - if ($aT eq $bT) { - # make sure seealso's always sort to the bottom - return 1 if ($a->{'seealso'}); - return -1 if ($b->{'seealso'}); - # if everything else is the same, keep these elements - # in document order (so the index links are in the right - # order) - return $ap <=> $bp; - } else { - return $aT cmp $bT; - } - } else { - return $aS cmp $bS; - } - } else { - return $aP cmp $bP; - } -} - -sub sortsymbols { - my(@term) = @_; - my(@new) = (); - my(@sym) = (); - my($letter); - my($idx); - - # Move the non-letter things to the front. Should digits be thier - # own group? Maybe... - foreach $idx (@term) { - $letter = $idx->{'psortas'}; - $letter = $idx->{'primary'} if !$letter; - $letter = uc(substr($letter, 0, 1)); - - if (($letter lt 'A') || ($letter gt 'Z')) { - push (@sym, $idx); - } else { - push (@new, $idx); - } - } - - return (@sym, @new); -} - -sub safe_open { - local(*OUT) = shift; - local(*F, $_); - - if (($outfile ne '-') && (!$forceoutput)) { - my($handedit) = 1; - if (open (OUT, $outfile)) { - while () { - if (//){ - $handedit = 0; - last; - } - } - close (OUT); - } else { - $handedit = 0; - } - - if ($handedit) { - print "\n$outfile appears to have been edited by hand; use -f or\n"; - print " change the output file.\n"; - exit 1; - } - } - - open (OUT, ">$outfile") || die "$usage\nCannot write to $outfile.\n"; - - if ($preamble) { - # Copy the preamble - if (open(F, $preamble)) { - while () { - print OUT $_; - } - close(F); - } else { - warn "$0: cannot open preamble $preamble.\n"; - } - } -} diff --git a/docs/docbook/scripts/fix_print_html.lib b/docs/docbook/scripts/fix_print_html.lib deleted file mode 100644 index e8a9aaa4c7..0000000000 --- a/docs/docbook/scripts/fix_print_html.lib +++ /dev/null @@ -1,172 +0,0 @@ -# -# fix_print_html.lib -# -# Dan Scott / -# Ferg / -# -# Used to prepare single-file HTML variant for PDF/Postscript creation -# thru htmldoc. -# -# log: -# 16Oct2000 - initial entry -# 03Apr2001 - fix for -# -# - -sub fix_print_html { - - my($in,$out,$ttl) = @_; - - open(IN_FILE, "< $in") || do { - print "fix_print_html: cannot open $in: $!\n"; - return 0; - }; - - my($buf,$ttl_buf) = ''; - my($indx) = -1; - my($is_article) = 0; - while() { - - if( $indx == 1 ) { - - # ignore everything until we see the chapter or sect - # - if( $_ =~ /CLASS="CHAP/i || $_ =~ /CLASS="PREF/i ) { - - $buf .= $_; - $indx++; - - } elsif( $_ =~ /CLASS="SECT/ || $_ =~ /CLASS="sect/ ) { - - $buf .= $_; - $indx++; - $is_article = 1; - - } else { - next; - } - - } elsif( $indx == 0 ) { - - # write out the title page file - # - if( $_ =~ /CLASS="TOC"/ ) { - - $ttl_buf .= ">\n\n\n"; - $ttl_buf =~ s/<\/H1\n/<\/H1\n>


$ttl") || do { - print "fix_print_html: cannot open $ttl: $!\n"; - close(IN_FILE); - return 0; - }; - print TOC_FILE $ttl_buf; - close(TOC_FILE); - $ttl_buf = ''; - $indx++; - - } else { - $ttl_buf .= $_; - } - - } elsif( $indx < 0 ) { - - # up to this point, both buffers get the line - # - if( $_ =~ /CLASS="TITLEPAGE"/ ) { - - $ttl_buf .= $_ . ">\n

\n



\n<\/P\n"; - $indx++; - - } else { - $buf .= $_; - $ttl_buf .= $_; - } - - } else { - - $buf .= $_; - } - } - close(IN_FILE); - - open(OUT_FILE, "> $out") || do { - print "fix_print_html: cannot open $out: $!\n"; - return 0; - }; - - - # make these corrections and write out the file - # - - $buf =~ s/(\n>/$1$2\n/gms; - $buf =~ s/(\n>/$1$2\n/gms; - $buf =~ s/(\n>/$1$2\n/gms; - if( $is_article == 0 ) { - $buf =~ s/(\nCLASS="SECT[TION\d]+"\n>)


) -1 ) { - $buf = substr($buf, 0, $indx); - $buf .= "\n<\/BODY>\n<\/HTML>\n\n"; - } elsif( ($indx = rindex($buf, " -1 ) { - $buf = substr($buf, 0, $indx); - $buf .= "\n<\/BODY>\n<\/HTML>\n\n"; - } - $buf =~ s/\&\#13;//g; - $buf =~ s/\&\#60;/\</g; - $buf =~ s/\&\#62;/\>/g; - $buf =~ s/\&\#8211;/\-/g; - $buf =~ s/WIDTH=\"\d\"//g; - $buf =~ s/><[\/]*TBODY//g; - $buf =~ s/><[\/]*THEAD//g; - $buf =~ s/TYPE=\"1\"\n//gim; - - if( $is_article == 0 ) { - - # for books...decrement the headers by 1 and then re-set the - # chapter level only to H1... - # - my($cnt,$j) = 0; - for($cnt=5; $cnt > 0; $cnt--) { - $j = $cnt + 1; - $buf =~ s/<\/DIV\n//gms; - $buf =~ s/(>(<\/LI\n)/$1$2$3/gms; - - print OUT_FILE $buf; - close(OUT_FILE); - - return 1; -} - -# Return true from package include -# -1; - diff --git a/docs/docbook/scripts/ldp_print b/docs/docbook/scripts/ldp_print deleted file mode 100755 index 70bb801def..0000000000 --- a/docs/docbook/scripts/ldp_print +++ /dev/null @@ -1,71 +0,0 @@ -#!/usr/bin/perl -w -# -# usage: ldp_print -# -# Creates a PDF variant of a single-file HTML representation of a -# DocBook SGML (or XML) instance. This simple wrapper assumes that -# the file was created using {open}jade in a manner similar to: -# -# jade -t sgml -i html -V nochunks -d $style $fname > $fname.html -# -# Give this script the filename as an argument. It will then parse -# the file into 'title.html' and 'body.html' and send each to -# htmldoc (as the corresponding title page and body of the document). -# -# -# CAVEATS: -# -# Assumes perl is in /usr/bin; adjust if necessary -# -# You may need to specify where the htmldoc executable resides. -# The script assumes it's within your $PATH. -# -# If you want Postscript as an output variant, uncomment the -# appropriate lines (see below). -# -# Relies on output from a DocBook instance created via DSSSL/{open}jade! -# -# Cleans up (removes) the intermediate files it creates (but not the -# PDF or Postscript files, obviously!) -# -# Works silently; PDF (PostScript) will be created in the same directory -# as was specified for the input (single-file HTML) file. -# -# Provided without warranty or support! -# -# gferg@sgi.com / Ferg (used as part of the LDP production env) -# - -use strict; -push(@INC, "./"); -require 'fix_print_html.lib'; - -if( $ARGV[0] eq '' || !(-r $ARGV[0]) ) { - die "\nusage: ldp_print \n\n"; -} - -my($fname_wo_ext) = $ARGV[0]; -$fname_wo_ext =~ s/\.[\w]+$//; - - -# create new files from single HTML file to use for print -# -&fix_print_html($ARGV[0], 'body.html', 'title.html'); - -my($cmd) = "htmldoc --size universal -t pdf -f ${fname_wo_ext}.pdf " . - "--firstpage p1 --titlefile title.html body.html"; - -# For postscript output; append onto the above cmd string: -# -# "; htmldoc --size universal -t ps -f -f ${fname_wo_ext}.ps " . -# "--firstpage p1 --titlefile title.html body.html"; -# -system($cmd); -die "\nldp_print: could not create ${fname_wo_ext}.pdf ($!)\n" if ($?); - -# cleanup -# -system("rm -f body.html title.html"); - -exit(0); - diff --git a/docs/docbook/scripts/make-article.pl b/docs/docbook/scripts/make-article.pl deleted file mode 100644 index d1f8c66832..0000000000 --- a/docs/docbook/scripts/make-article.pl +++ /dev/null @@ -1,25 +0,0 @@ -#!/usr/bin/perl - -$ignore = 0; - -print "\n"; - -while () { - - $_ =~ s/') { - $ignore = 1; - } - - if ( $_ =~ '') { - $ignore = 0; - $_ = ""; - } - - - if (! $ignore) { print "$_"; } - - -} -- cgit