@for i in $(BIN_DIST_DIRS); do \
if test -d "$$i"; then \
$(MAKE) -C $$i $(MFLAGS) $(BINDIST_DOC_WAYS); \
- echo $(MAKE) -C $$i $(MFLAGS) install-docs SGMLDocWays="$(BINDIST_DOC_WAYS)" XMLDocWays="$(BINDIST_DOC_WAYS)" \
+ echo $(MAKE) -C $$i $(MFLAGS) install-docs XMLDocWays="$(BINDIST_DOC_WAYS)" \
prefix=$(BIN_DIST_TMPDIR)/$(BIN_DIST_NAME) \
exec_prefix=$(BIN_DIST_TMPDIR)/$(BIN_DIST_NAME) \
bindir=$(BIN_DIST_TMPDIR)/$(BIN_DIST_NAME)/bin/$(TARGETPLATFORM) \
libdir=$(BIN_DIST_TMPDIR)/$(BIN_DIST_NAME)/lib/$(TARGETPLATFORM) \
libexecdir=$(BIN_DIST_TMPDIR)/$(BIN_DIST_NAME)/lib/$(TARGETPLATFORM) \
datadir=$(BIN_DIST_TMPDIR)/$(BIN_DIST_NAME)/share; \
- $(MAKE) -C $$i $(MFLAGS) install-docs SGMLDocWays="$(BINDIST_DOC_WAYS)" XMLDocWays="$(BINDIST_DOC_WAYS)" \
+ $(MAKE) -C $$i $(MFLAGS) install-docs XMLDocWays="$(BINDIST_DOC_WAYS)" \
prefix=$(BIN_DIST_TMPDIR)/$(BIN_DIST_NAME) \
exec_prefix=$(BIN_DIST_TMPDIR)/$(BIN_DIST_NAME) \
bindir=$(BIN_DIST_TMPDIR)/$(BIN_DIST_NAME)/bin/$(TARGETPLATFORM) \
])# FP_PROG_FO_PROCESSOR
-dnl ** Check which CATALOG file we have to use with DocBook SGML.
-dnl
-dnl FPTOOLS_DOCBOOK_CATALOG(VARIABLE, JADE, STYLESHEET, CATALOGS-TO-CHECK-FOR)
-dnl
-dnl If any of the catalogs given in CATALOGS-TO-CHECK-FOR works on this
-dnl platform, let VARIABLE refer to this catalog; otherwise, VARIABLE
-dnl is set to "no". JADE is the jade executable and STYLESHEET
-dnl a DocBook style sheet.
-dnl
-AC_DEFUN(FPTOOLS_DOCBOOK_CATALOG,
-[AC_CACHE_CHECK([for DocBook CATALOG], fptools_cv_sgml_catalog,
-[
-cat > conftest.sgml << EOF
-<!DOCTYPE Article PUBLIC "-//OASIS//DTD DocBook V3.1//EN">
-<Article>
-<ArtHeader>
-<Title>Test</Title>
-<Author><OtherName>Test</OtherName></Author>
-<Address>Test</Address>
-<PubDate>Test</PubDate>
-</ArtHeader>
-<Sect1><Title>Test</Title>
-<Para>
-Test.
-</Para>
-</Sect1>
-</Article>
-EOF
-fptools_cv_sgml_catalog=no
-if test -z "$SGML_CATALOG_FILES" ; then
- for fptools_catalog in $4; do
- ac_try="$2 -t rtf -d $3#print -c $fptools_catalog conftest.sgml"
- if AC_TRY_EVAL(ac_try); then
- fptools_cv_sgml_catalog=[$]fptools_catalog
- break
- fi
- done
-else
-# If the env var SGML_CATALOG_FILES is defined, assume things are cool.
- fptools_cv_sgml_catalog="yes"
-fi
-])
-rm -rf conftest*
-if test $fptools_cv_sgml_catalog != "no"; then
- $1=$fptools_cv_sgml_catalog
-fi
-])
-
-
# FP_CHECK_WIN32
# --------------
# If Windows is the target platform (e.g. MinGW/MSYS or Cygwin with
FP_DIR_DOCBOOK_XSL([/usr/share/xml/docbook/stylesheet/nwalsh/current /usr/share/sgml/docbook/docbook-xsl-stylesheets* /usr/share/sgml/docbook/xsl-stylesheets* /opt/kde?/share/apps/ksgmltools2/docbook/xsl /usr/share/docbook-xsl /usr/share/sgml/docbkxsl])
FP_PROG_FO_PROCESSOR
-dnl ** check for jade/openjade & determine a working catalog
-AC_PATH_PROGS(JadeCmd,openjade jade,jade)
-FPTOOLS_DOCBOOK_CATALOG(Catalog, $JadeCmd, docs/fptools-both.dsl,
- /etc/sgml/catalog /etc/sgml.catalog /usr/share/sgml/CATALOG.docbkdsl /usr/local/share/sgml/catalog glafp-utils/docbook/CATALOG*)
-if test -z "$Catalog"; then
- AC_MSG_RESULT([Warning: You will not be able to build the documentation.])
-fi
-case $Catalog in
- yes) # assume it is provided by other means (e.g., SGML_CATALOG_FILES env var).
- Catalog=
- ;;
- glafp*)
- case $HostOS_CPP in
- mingw32)
- if test "${OSTYPE}" == "msys"
- then
- Catalog=$hardtop/$Catalog
- else
- Catalog=`cygpath -w $hardtop/$Catalog`
- fi
- ;;
- *) Catalog=$hardtop/$Catalog
- ;;
- esac
- ;;
-esac
-AC_SUBST(Catalog)
-
-
dnl ** check for ghc-pkg command
changequote(, )dnl
ghc_pkg_guess=`echo $WithGhc | sed 's@ghc\([^/\\]*\)$@ghc-pkg\1@'`
<indexterm><primary>DocBook, pre-supposed</primary></indexterm>
</term>
<listitem>
- <para>Much of our documentation is written in SGML, using
- the DocBook DTD. Instructions on installing and
- configuring the DocBook tools are below.</para>
+ <para>Much of our documentation is written in DocBook XML, instructions
+ on installing and configuring the DocBook tools are below.</para>
</listitem>
</varlistentry>
<para>Because there are many different formats that the DocBook
documentation can be generated in, you have to select which ones
- you want by setting the <literal>SGMLDocWays</literal> variable
+ you want by setting the <literal>XMLDocWays</literal> variable
to a list of them. For example, in
<filename>build.mk</filename> you might have a line:</para>
-<screen>SGMLDocWays = html ps</screen>
+<screen>XMLDocWays = html ps</screen>
<para>This will cause the documentation to be built in the requested
formats as part of the main build (the default is not to build
documentation, which goes into
<literal>$(datadir)/html</literal>, to keep things tidy.</para>
- <para>Note that unless you set <literal>$(SGMLDocWays)</literal>
+ <para>Note that unless you set <literal>$(XMLDocWays)</literal>
to a list of formats, the <literal>install-docs</literal> target
- won't do anything for SGML documentation.</para>
+ won't do anything for DocBook XML documentation.</para>
</sect2>
</sect1>
<varlistentry>
<term>Comments</term>
<listitem>
- <para>Comments in SGML look like this: <sgmltag
+ <para>Comments in XML look like this: <sgmltag
class="sgmlcomment">This is a comment</sgmltag>.</para>
</listitem>
</varlistentry>
<sect1 id="docbook-tables">
<title>Tables</title>
- <para>Tables are quite complicated to write in SGML (as in HTML,
+ <para>Tables are quite complicated to write in DocBook XML (as in HTML,
there are lots of fiddly tags), so here's an example you can
cannibalise. In the spirit of the LaTeX short introduction I don't
repeat all the markup verbatim; you have to look at the source for
+++ /dev/null
-<!DOCTYPE style-sheet PUBLIC "-//James Clark//DTD DSSSL Style Sheet//EN" [
-<!ENTITY % html "IGNORE">
-<![%html;[
-<!ENTITY % print "IGNORE">
-<!ENTITY docbook.dsl PUBLIC "-//Norman Walsh//DOCUMENT DocBook HTML Stylesheet//EN" CDATA dsssl>
-]]>
-<!ENTITY % print "INCLUDE">
-<![%print;[
-<!ENTITY docbook.dsl PUBLIC "-//Norman Walsh//DOCUMENT DocBook Print Stylesheet//EN" CDATA dsssl>
-]]>
-]>
-
-<!-- This is (or was) the standard Cygnus DocBook tools stylesheet
-
-Options added:
-
-%section-autolabel%: true
-%paper-type%: A4
-
--->
-
-
-<style-sheet>
-
-<style-specification id="print" use="docbook">
-<style-specification-body>
-
-;; ====================
-;; customize the print stylesheet
-;; ====================
-
-;; make funcsynopsis look pretty
-(define %funcsynopsis-decoration%
- ;; Decorate elements of a FuncSynopsis?
- #t)
-
-;; use graphics in admonitions, and have their path be "."
-;; NO: we are not yet ready to use gifs in TeX and so forth
-(define %admon-graphics-path%
- "./")
-(define %admon-graphics%
- #f)
-
-;; this is necessary because right now jadetex does not understand
-;; symbolic entities, whereas things work well with numeric entities.
-(declare-characteristic preserve-sdata?
- "UNREGISTERED::James Clark//Characteristic::preserve-sdata?"
- #f)
-(define %two-side% #t)
-
-(define %section-autolabel%
- ;; Are sections enumerated?
- #t)
-;; (define %title-font-family%
-;; ;; The font family used in titles
-;; "Ariel")
-(define %visual-acuity%
- ;; General measure of document text size
- ;; "presbyopic"
- ;; "large-type"
- "normal")
-
-(define %generate-set-toc% #t)
-(define %generate-part-toc% #t)
-
-;; (define %block-start-indent% 10pt)
-
-(define %graphic-default-extension% "eps")
-
-(define %paper-type%
- ;; Name of paper type
- "A4")
-
-</style-specification-body>
-</style-specification>
-
-<!--
-;; ====================
-;; customize the html stylesheet
-;; ====================
--->
-<style-specification id="html" use="docbook">
-<style-specification-body>
-
-;; this is necessary because right now jadetex does not understand
-;; symbolic entities, whereas things work well with numeric entities.
-(declare-characteristic preserve-sdata?
- "UNREGISTERED::James Clark//Characteristic::preserve-sdata?"
- #f)
-
-;; put the legal notice in a separate file
-(define %generate-legalnotice-link%
- #t)
-
-;; use graphics in admonitions, and have their path be "stylesheet-images"
-;; NO: they do not yet look very good
-(define %admon-graphics-path%
- "./stylesheet-images/")
-(define %admon-graphics%
- #f)
-
-;; make funcsynopsis look pretty
-(define %funcsynopsis-decoration%
- ;; Decorate elements of a FuncSynopsis?
- #t)
-
-(define %html-ext% ".html")
-(define %body-attr%
- ;; What attributes should be hung off of BODY?
- '())
-;; (list
-;; (list "BGCOLOR" "#FFFFFF")
-;; (list "TEXT" "#000000")))
-
-(define %generate-article-toc%
- ;; Should a Table of Contents be produced for Articles?
- ;; If true, a Table of Contents will be generated for each 'Article'.
- #t)
-
-(define %generate-part-toc% #t)
-
-(define %shade-verbatim%
- #t)
-
-(define %use-id-as-filename%
- ;; Use ID attributes as name for component HTML files?
- #t)
-
-(define %graphic-default-extension% "gif")
-
-(define %section-autolabel% #t)
-
-;; Uncomment the setting below if you want .html output as one
-;; big page. [ Notice that 'jade' dumps the output on stdout
-;; rather than on honour the -o option...at least my copy does.]
-;;
-;;(define nochunks #t)
-
-</style-specification-body>
-</style-specification>
-
-<external-specification id="docbook" document="docbook.dsl">
-
-</style-sheet>
the html and ps directories. Pre-formatted HTML documentation is also
available on the GHC web page.
-In a source distribution, the unformatted (SGML) documentation is in
-the following places:
+In a source distribution, the unformatted (DocBook XML) documentation
+is in the following places:
* fptools/ghc/docs/users_guide Users' Guide.
* fptools/hslibs/doc/hslibs Library documentation.
don't work in practice. These are noted below.
0. Build a stage 1 tree.
-1. Set "SGMLDocWays=html pdf" in stage 2's build.mk.
+1. Set "XMLDocWays=html pdf" in stage 2's build.mk.
2. Build stage 2.
3. Convert ANNOUNCE and LICENSE (if it has changed) to RTF (use Word),
and put them in the WindowsInstaller directory.
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Prefix: %{_prefix}
Requires: gmp, readline
-BuildRequires: alex >= 2.0, happy >= 1.14, ghc >= 5, haddock, docbk31, jade, jadetex, dvips, gmp, readline-devel
+BuildRequires: alex >= 2.0, happy >= 1.14, ghc >= 5, haddock, docbk31, gmp, readline-devel
Provides: haskell
Summary: The Glasgow Haskell Compiler
# We need to write mkdependC first (in that order), to be sure that
# make depend will succeed in all the other directories.
-SUBDIRS = mkdependC mkdirhier runstdtest docbook
+SUBDIRS = mkdependC mkdirhier runstdtest
ifneq "$(TARGETPLATFORM)" "i386-unknown-mingw32"
SUBDIRS += lndir
endif
+++ /dev/null
-CATALOG /usr/local/share/sgml/iso8879/catalog
-CATALOG /usr/local/share/sgml/docbook/catalog
-CATALOG /usr/local/share/sgml/docbook/dsssl/modular/catalog
-CATALOG /usr/local/share/sgml/jade/catalog
+++ /dev/null
-DTDDECL "-//OASIS//DTD DocBook V3.1//EN" "/usr/share/sgml/docbk31/docbook.dcl"
-
-PUBLIC "-//OASIS//DTD DocBook V3.1//EN" /usr/share/sgml/OASIS/dtd/DocBook_V3.1
-PUBLIC "-//USA-DOD//DTD Table Model 951010//EN" /usr/share/sgml/USA-DOD/dtd/Table_Model_951010
-PUBLIC "-//OASIS//ELEMENTS DocBook Information Pool V3.1//EN" /usr/share/sgml/OASIS/elements/DocBook_Information_Pool_V3.1
-PUBLIC "-//OASIS//ELEMENTS DocBook Document Hierarchy V3.1//EN" /usr/share/sgml/OASIS/elements/DocBook_Document_Hierarchy_V3.1
-PUBLIC "-//OASIS//ENTITIES DocBook Additional General Entities V3.1//EN" /usr/share/sgml/OASIS/entities/DocBook_Additional_General_Entities_V3.1
-PUBLIC "-//OASIS//ENTITIES DocBook Notations V3.1//EN" /usr/share/sgml/OASIS/entities/DocBook_Notations_V3.1
-PUBLIC "-//OASIS//ENTITIES DocBook Character Entities V3.1//EN" /usr/share/sgml/OASIS/entities/DocBook_Character_Entities_V3.1
-
-CATALOG "/var/lib/sgml/CATALOG.iso_ent"
-
-PUBLIC "-//James Clark//DTD DSSSL Style Sheet//EN" /usr/share/sgml/James_Clark/dtd/DSSSL_Style_Sheet
-PUBLIC "-//Norman Walsh//DOCUMENT DocBook Print Stylesheet//EN" /usr/share/sgml/docbook/dsssl-stylesheets-1.77/print/docbook.dsl
-PUBLIC "-//Norman Walsh//DOCUMENT DocBook HTML Stylesheet//EN" /usr/share/sgml/docbook/dsssl-stylesheets-1.77/html/docbook.dsl
-PUBLIC "ISO/IEC 10179:1996//DTD DSSSL Architecture//EN" /usr/share/sgml/jade_dsl/dsssl.dtd
+++ /dev/null
-DTDDECL "-//OASIS//DTD DocBook V3.1//EN" "/usr/share/sgml/docbk31/docbook.dcl"
-
-PUBLIC "-//OASIS//DTD DocBook V3.1//EN" /usr/share/sgml/OASIS/dtd/DocBook_V3.1
-PUBLIC "-//USA-DOD//DTD Table Model 951010//EN" /usr/share/sgml/USA-DOD/dtd/Table_Model_951010
-PUBLIC "-//OASIS//ELEMENTS DocBook Information Pool V3.1//EN" /usr/share/sgml/OASIS/elements/DocBook_Information_Pool_V3.1
-PUBLIC "-//OASIS//ELEMENTS DocBook Document Hierarchy V3.1//EN" /usr/share/sgml/OASIS/elements/DocBook_Document_Hierarchy_V3.1
-PUBLIC "-//OASIS//ENTITIES DocBook Additional General Entities V3.1//EN" /usr/share/sgml/OASIS/entities/DocBook_Additional_General_Entities_V3.1
-PUBLIC "-//OASIS//ENTITIES DocBook Notations V3.1//EN" /usr/share/sgml/OASIS/entities/DocBook_Notations_V3.1
-PUBLIC "-//OASIS//ENTITIES DocBook Character Entities V3.1//EN" /usr/share/sgml/OASIS/entities/DocBook_Character_Entities_V3.1
-
-CATALOG "/var/lib/sgml/CATALOG.iso_ent"
-
-PUBLIC "-//James Clark//DTD DSSSL Style Sheet//EN" /usr/share/sgml/James_Clark/dtd/DSSSL_Style_Sheet
-PUBLIC "-//Norman Walsh//DOCUMENT DocBook Print Stylesheet//EN" /usr/share/sgml/docbook/dsssl-stylesheets-1.77/print/docbook.dsl
-PUBLIC "-//Norman Walsh//DOCUMENT DocBook HTML Stylesheet//EN" /usr/share/sgml/docbook/dsssl-stylesheets-1.77/html/docbook.dsl
-PUBLIC "ISO/IEC 10179:1996//DTD DSSSL Architecture//EN" /usr/share/sgml/ISO_IEC_10179:1996/dtd/DSSSL_Architecture
+++ /dev/null
-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Arrow Relations//EN" /usr/lib/sgml/ISOamsa
-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Binary Operators//EN" /usr/lib/sgml/ISOamsb
-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Delimiters//EN" /usr/lib/sgml/ISOamsc
-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Negated Relations//EN" /usr/lib/sgml/ISOamsn
-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Ordinary//EN" /usr/lib/sgml/ISOamso
-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Relations//EN" /usr/lib/sgml/ISOamsr
-PUBLIC "ISO 8879:1986//ENTITIES Box and Line Drawing//EN" /usr/lib/sgml/ISObox
-PUBLIC "ISO 8879:1986//ENTITIES Russian Cyrillic//EN" /usr/lib/sgml/ISOcyr1
-PUBLIC "ISO 8879:1986//ENTITIES Non-Russian Cyrillic//EN" /usr/lib/sgml/ISOcyr2
-PUBLIC "ISO 8879:1986//ENTITIES Diacritical Marks//EN" /usr/lib/sgml/ISOdia
-PUBLIC "ISO 8879:1986//ENTITIES Greek Letters//EN" /usr/lib/sgml/ISOgrk1
-PUBLIC "ISO 8879:1986//ENTITIES Monotoniko Greek//EN" /usr/lib/sgml/ISOgrk2
-PUBLIC "ISO 8879:1986//ENTITIES Greek Symbols//EN" /usr/lib/sgml/ISOgrk3
-PUBLIC "ISO 8879:1986//ENTITIES Alternative Greek Symbols//EN" /usr/lib/sgml/ISOgrk4
-PUBLIC "ISO 8879:1986//ENTITIES Added Latin 1//EN" /usr/lib/sgml/ISOlat1
-PUBLIC "ISO 8879:1986//ENTITIES Added Latin 2//EN" /usr/lib/sgml/ISOlat2
-PUBLIC "ISO 8879:1986//ENTITIES Numeric and Special Graphic//EN" /usr/lib/sgml/ISOnum
-PUBLIC "ISO 8879:1986//ENTITIES Publishing//EN" /usr/lib/sgml/ISOpub
-PUBLIC "ISO 8879:1986//ENTITIES General Technical//EN" /usr/lib/sgml/ISOtech
-
-PUBLIC "-//Norman Walsh//DOCUMENT DocBook HTML Stylesheet//EN" /usr/lib/sgml/stylesheets/nwalsh-modular/html/docbook.dsl
-PUBLIC "-//Norman Walsh//DOCUMENT DocBook Print Stylesheet//EN" /usr/lib/sgml/stylesheets/nwalsh-modular/print/docbook.dsl
-CATALOG /usr/lib/sgml/dsssl.cat
-CATALOG /usr/lib/sgml/docbook.cat
-CATALOG /usr/lib/sgml/nwalsh-modular.cat
+++ /dev/null
-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Arrow Relations//EN" /usr/local/lib/sgml/ISOamsa
-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Binary Operators//EN" /usr/local/lib/sgml/ISOamsb
-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Delimiters//EN" /usr/local/lib/sgml/ISOamsc
-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Negated Relations//EN" /usr/local/lib/sgml/ISOamsn
-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Ordinary//EN" /usr/local/lib/sgml/ISOamso
-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Relations//EN" /usr/local/lib/sgml/ISOamsr
-PUBLIC "ISO 8879:1986//ENTITIES Box and Line Drawing//EN" /usr/local/lib/sgml/ISObox
-PUBLIC "ISO 8879:1986//ENTITIES Russian Cyrillic//EN" /usr/local/lib/sgml/ISOcyr1
-PUBLIC "ISO 8879:1986//ENTITIES Non-Russian Cyrillic//EN" /usr/local/lib/sgml/ISOcyr2
-PUBLIC "ISO 8879:1986//ENTITIES Diacritical Marks//EN" /usr/local/lib/sgml/ISOdia
-PUBLIC "ISO 8879:1986//ENTITIES Greek Letters//EN" /usr/local/lib/sgml/ISOgrk1
-PUBLIC "ISO 8879:1986//ENTITIES Monotoniko Greek//EN" /usr/local/lib/sgml/ISOgrk2
-PUBLIC "ISO 8879:1986//ENTITIES Greek Symbols//EN" /usr/local/lib/sgml/ISOgrk3
-PUBLIC "ISO 8879:1986//ENTITIES Alternative Greek Symbols//EN" /usr/local/lib/sgml/ISOgrk4
-PUBLIC "ISO 8879:1986//ENTITIES Added Latin 1//EN" /usr/local/lib/sgml/ISOlat1
-PUBLIC "ISO 8879:1986//ENTITIES Added Latin 2//EN" /usr/local/lib/sgml/ISOlat2
-PUBLIC "ISO 8879:1986//ENTITIES Numeric and Special Graphic//EN" /usr/local/lib/sgml/ISOnum
-PUBLIC "ISO 8879:1986//ENTITIES Publishing//EN" /usr/local/lib/sgml/ISOpub
-PUBLIC "ISO 8879:1986//ENTITIES General Technical//EN" /usr/local/lib/sgml/ISOtech
-
-CATALOG /usr/local/lib/sgml/stylesheets/docbook/catalog
-CATALOG /usr/local/lib/sgml/docbook.cat
-CATALOG /usr/local/lib/sgml/catalog
+++ /dev/null
-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Arrow Relations//EN" /docbook/ISOamsa\r
-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Binary Operators//EN" /docbook/ISOamsb\r
-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Delimiters//EN" /docbook/ISOamsc\r
-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Negated Relations//EN" /docbook/ISOamsn\r
-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Ordinary//EN" /docbook/ISOamso\r
-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Relations//EN" /docbook/ISOamsr\r
-PUBLIC "ISO 8879:1986//ENTITIES Box and Line Drawing//EN" /docbook/ISObox\r
-PUBLIC "ISO 8879:1986//ENTITIES Russian Cyrillic//EN" /docbook/ISOcyr1\r
-PUBLIC "ISO 8879:1986//ENTITIES Non-Russian Cyrillic//EN" /docbook/ISOcyr2\r
-PUBLIC "ISO 8879:1986//ENTITIES Diacritical Marks//EN" /docbook/ISOdia\r
-PUBLIC "ISO 8879:1986//ENTITIES Greek Letters//EN" /docbook/ISOgrk1\r
-PUBLIC "ISO 8879:1986//ENTITIES Monotoniko Greek//EN" /docbook/ISOgrk2\r
-PUBLIC "ISO 8879:1986//ENTITIES Greek Symbols//EN" /docbook/ISOgrk3\r
-PUBLIC "ISO 8879:1986//ENTITIES Alternative Greek Symbols//EN" /docbook/ISOgrk4\r
-PUBLIC "ISO 8879:1986//ENTITIES Added Latin 1//EN" /docbook/ISOlat1\r
-PUBLIC "ISO 8879:1986//ENTITIES Added Latin 2//EN" /docbook/ISOlat2\r
-PUBLIC "ISO 8879:1986//ENTITIES Numeric and Special Graphic//EN" /docbook/ISOnum\r
-PUBLIC "ISO 8879:1986//ENTITIES Publishing//EN" /docbook/ISOpub\r
-PUBLIC "ISO 8879:1986//ENTITIES General Technical//EN" /docbook/ISOtech\r
-\r
-CATALOG /docbook/stylesheets/docbook/catalog\r
-CATALOG /docbook/docbook.cat\r
-CATALOG /jade/catalog\r
+++ /dev/null
-The db* files are copyright Cygnus Solutions and the GHC Team, and
-distributed under the GNU General Public License. They're derived from the
-Cygnus DocBook tools scripts.
+++ /dev/null
-#-----------------------------------------------------------------------------
-# $Id: Makefile,v 1.5 2000/11/21 10:00:44 simonmar Exp $
-
-TOP=..
-include $(TOP)/mk/boilerplate.mk
-
-SUBDIRS = db2dvi.dir db2html.dir db2pdf.dir db2ps.dir db2rtf.dir
-
-include $(TOP)/mk/target.mk
+++ /dev/null
-TOP=../..
-include $(TOP)/mk/boilerplate.mk
-
-SCRIPT_PROG=../db2dvi
-SCRIPT_OBJS=db2dvi.sh
-SCRIPT_SUBST_VARS=JADE DOCBOOK_CATALOG
-INTERP=$(SHELL)
-
-CLEAN_FILES += $(SCRIPT_PROG)
-DESTDIR=$(INSTSCRIPTDIR)
-
-include $(TOP)/mk/target.mk
+++ /dev/null
-if [ ! -f "$DOCBOOK_CATALOG" ] && [ ! -f "$SGML_CATALOG_FILES" ] ; then
- echo "CATALOG file not set up; see installation guide for details."
- exit 1
-fi
-
-if [ -f "$DOCBOOK_CATALOG" ] ; then
- CATALOG_OPTION="-c $DOCBOOK_CATALOG"
-fi
-
-# Dave Mason's option to specify a different stylesheet
-case $1 in
- -d) DB_STYLESHEET=$2
- shift 2
- ;;
-esac
-
-echo "Using stylesheet: \"${DB_STYLESHEET}\""
-
-if [ $# -gt 2 ]
-then
- echo "Usage: `basename $0` [filename.sgml]" >&2
- exit 1
-fi
-
-if [ $# -eq 1 ]
-then
- if [ ! -r $1 ]
- then
- echo Cannot read \"$1\". Exiting. >&2
- exit 1
- fi
- if echo $1 | egrep -i '\.sgml$|\.sgm$' >/dev/null 2>&1
- then
- output="`echo $1 | sed 's,\.sgml$,.dvi,;s,\.sgm$,.dvi,'`"
- fi
-fi
-
-echo OUTPUT FILE NAME IS $output
-
-TMPFN=`echo $1 | sed 's/\.sgml//'`
-
-$JADE -t tex -d ${DB_STYLESHEET}\#print -o ${TMPFN}.tex $CATALOG_OPTION $1
-
-jadetex ${TMPFN}.tex
-
-# if there are unresolved references, re-run jadetex, twice
-if egrep '^LaTeX Warning: There were undefined references.$' ${TMPFN}.log >/dev/null 2>&1
-then
- jadetex ${TMPFN}.tex
- jadetex ${TMPFN}.tex
-fi
-
-exit 0
+++ /dev/null
-TOP=../..
-include $(TOP)/mk/boilerplate.mk
-
-SCRIPT_PROG=../db2html
-SCRIPT_OBJS=db2html.sh
-SCRIPT_SUBST_VARS=JADE DOCBOOK_CATALOG HTML_DIR
-INTERP=$(SHELL)
-
-HTML_DIR=$(FPTOOLS_TOP_ABS)/glafp-utils/docbook
-
-CLEAN_FILES += $(SCRIPT_PROG)
-DESTDIR=$(INSTSCRIPTDIR)
-
-include $(TOP)/mk/target.mk
+++ /dev/null
-if [ ! -f "$DOCBOOK_CATALOG" ] && [ ! -f "$SGML_CATALOG_FILES" ] ; then
- echo "CATALOG file not set up; see installation guide for details."
- exit 1
-fi
-
-if [ -f "$DOCBOOK_CATALOG" ] ; then
- CATALOG_OPTION="-c $DOCBOOK_CATALOG"
-fi
-
-HTML_STYLESHEET=$HTML_DIR/html/docbook.css
-ADMON_GRAPHICS=$HTML_DIR/html/images/*.gif
-
-output=db2html-dir
-TMPDIR=DBTOHTML_OUTPUT_DIR$$
-
-echo TMPDIR is $TMPDIR
-
-# Dave Mason's option to specify a different stylesheet
-case $1 in
- -d) DB_STYLESHEET=$2
- shift 2
- ;;
-esac
-
-echo "Using stylesheet: \"${DB_STYLESHEET}\""
-
-if [ $# -gt 2 ]
-then
- echo "Usage: `basename $0` [filename.sgml]" >&2
- exit 1
-fi
-
-if [ $# -eq 1 ]
-then
- if [ ! -r $1 ]
- then
- echo Cannot read \"$1\". Exiting. >&2
- exit 1
- fi
- if echo $1 | egrep -i '\.sgml$|\.sgm$' >/dev/null 2>&1
- then
- # now make sure that the output directory is always a subdirectory
- # of hte current directory
- echo
- input_file=`basename $1`
- output="`echo $input_file | sed 's,\.sgml$,,;s,\.sgm$,,'`"
- echo "input file was called $input_file -- output will be in $output"
- echo
- fi
-fi
-
-# we used to generate a single file, but with the modular DB_STYLESHEETs
-# it's best to make a new directory with several html files in it
-#cat $* | jade -d $DB_STYLESHEET -t sgml -V nochunks > $TMPFN
-
-mkdir $TMPDIR
-SAVE_PWD=`pwd`
-if [ $1 = `basename $1` ]; then
- echo "working on ../$1"
- (cd $TMPDIR; $JADE -t sgml -ihtml -d ${DB_STYLESHEET}\#html $CATALOG_OPTION ../$1; cd $SAVE_PWD)
-else
- echo "working on $1"
- (cd $TMPDIR; $JADE -t sgml -ihtml -d ${DB_STYLESHEET}\#html $CATALOG_OPTION $1; cd $SAVE_PWD)
-fi
-
-if [ $# -eq 1 ]
-then
- if [ -d ${output}.junk ]
- then
- rm -rf ${output}.junk
- fi
- if [ -d ${output} ]
- then
- mv $output ${output}.junk
- fi
- echo "about to copy cascading stylesheet and admon graphics to temp dir"
- cp ${HTML_STYLESHEET} ${TMPDIR}/
- mkdir ${TMPDIR}/stylesheet-images
- cp ${ADMON_GRAPHICS} ${TMPDIR}/stylesheet-images
- echo "about to rename temporary directory to $output"
- mv ${TMPDIR} $output
-else
- cat $TMPDIR/*
-fi
-
-rm -rf $TMPDIR
-
-exit 0
+++ /dev/null
-TOP=../..
-include $(TOP)/mk/boilerplate.mk
-
-SCRIPT_PROG=../db2pdf
-SCRIPT_OBJS=db2pdf.sh
-SCRIPT_SUBST_VARS=JADE DOCBOOK_CATALOG
-INTERP=$(SHELL)
-
-CLEAN_FILES += $(SCRIPT_PROG)
-DESTDIR=$(INSTSCRIPTDIR)
-
-include $(TOP)/mk/target.mk
+++ /dev/null
-if [ ! -f "$DOCBOOK_CATALOG" ] && [ ! -f "$SGML_CATALOG_FILES" ] ; then
- echo "CATALOG file not set up; see installation guide for details."
- exit 1
-fi
-
-if [ -f "$DOCBOOK_CATALOG" ] ; then
- CATALOG_OPTION="-c $DOCBOOK_CATALOG"
-fi
-
-# Dave Mason's option to specify a different stylesheet
-case $1 in
- -d) DB_STYLESHEET=$2
- shift 2
- ;;
-esac
-
-echo "Using stylesheet: \"${DB_STYLESHEET}\""
-
-if [ $# -gt 2 ]
-then
- echo "Usage: `basename $0` [filename.sgml]" >&2
- exit 1
-fi
-
-if [ $# -eq 1 ]
-then
- if [ ! -r $1 ]
- then
- echo Cannot read \"$1\". Exiting. >&2
- exit 1
- fi
- if echo $1 | egrep -i '\.sgml$|\.sgm$' >/dev/null 2>&1
- then
- output="`echo $1 | sed 's,\.sgml$,,;s,\.sgm$,,'`"
- fi
-fi
-
-$JADE -t tex -d ${DB_STYLESHEET}\#print -o ${output}.tex $CATALOG_OPTION $1
-
-jadetex ${output}
-
-# See if running jadetex twice cures the problem.
-if egrep '^LaTeX Warning: There were undefined references.$' ${TMPFN}.log >/dev/null 2>&1
-then
- jadetex ${output}
- jadetex ${output}
-fi
-
-dvips ${output}.dvi -o ${output}.ps
-ps2pdf ${output}.ps ${output}.pdf
-
-# clean out
-rm -f ${output}.log
-rm -f ${output}.aux
-rm -f ${output}.tex
-
-exit 0
+++ /dev/null
-TOP=../..
-include $(TOP)/mk/boilerplate.mk
-
-SCRIPT_PROG=../db2ps
-SCRIPT_OBJS=db2ps.sh
-INTERP=$(SHELL)
-
-CLEAN_FILES += $(SCRIPT_PROG)
-DESTDIR=$(INSTSCRIPTDIR)
-
-include $(TOP)/mk/target.mk
+++ /dev/null
-# Dave Mason's option to specify a different stylesheet
-case $1 in
- -d) DB_STYLESHEET=$2
- shift 2
- ;;
-esac
-
-if [ $# -gt 2 ]
-then
- echo "Usage: `basename $0` [filename.sgml]" >&2
- exit 1
-fi
-
-output="`echo $1 | sed 's,\.sgml$,.ps,;s,\.sgm$,.ps,'`"
-outdvi="`echo $1 | sed 's,\.sgml$,.dvi,;s,\.sgm$,.dvi,'`"
-make $outdvi
-dvips $outdvi -o $output
-
-exit 0
+++ /dev/null
-TOP=../..
-include $(TOP)/mk/boilerplate.mk
-
-SCRIPT_PROG=../db2rtf
-SCRIPT_OBJS=db2rtf.sh
-SCRIPT_SUBST_VARS=JADE DOCBOOK_CATALOG
-INTERP=$(SHELL)
-
-CLEAN_FILES += $(SCRIPT_PROG)
-DESTDIR=$(INSTSCRIPTDIR)
-
-include $(TOP)/mk/target.mk
+++ /dev/null
-if [ ! -f "$DOCBOOK_CATALOG" ] && [ ! -f "$SGML_CATALOG_FILES" ] ; then
- echo "CATALOG file not set up; see installation guide for details."
- exit 1
-fi
-
-if [ -f "$DOCBOOK_CATALOG" ] ; then
- CATALOG_OPTION="-c $DOCBOOK_CATALOG"
-fi
-
-output=db2rtf.rtf
-
-# Dave Mason's option to specify a different stylesheet
-case $1 in
- -d) DB_STYLESHEET=$2
- shift 2
- ;;
-esac
-
-echo "Using stylesheet: \"${DB_STYLESHEET}\""
-
-if [ $# -gt 2 ]
-then
- echo "Usage: `basename $0` [filename.sgml]" >&2
- exit 1
-fi
-
-if [ $# -eq 1 ]
-then
- if [ ! -r $1 ]
- then
- echo Cannot read \"$1\". Exiting. >&2
- exit 1
- fi
- if echo $1 | egrep -i '\.sgml$|\.sgm$' >/dev/null 2>&1
- then
- output="`echo $1 | sed 's,\.sgml$,.rtf,;s,\.sgm$,.rtf,'`"
- fi
-fi
-
-cat $* | $JADE -t rtf -d ${DB_STYLESHEET}\#print $CATALOG_OPTION
-
-if [ $# -eq 1 ]
-then
- mv jade-out.rtf $output
-else
- cat jade-out.rtf
-fi
-
-exit 0
+++ /dev/null
-.BOOK .TITLE { text-align: center }
-.BOOK .SUBTITLE { text-align: center }
-.BOOK .CORPAUTHOR { text-align: center }
-.BOOK .AUTHOR { text-align: center }
-.BOOK .AFFILIATION { text-align: center }
-.BOOK .EDITEDBY { text-align: center }
-.BOOK .EDITOR { text-align: center }
-.BOOK .GRAPHIC { text-align: center }
-
-.ARTICLE .TITLE { text-align: center }
-.ARTICLE .SUBTITLE { text-align: center }
-.ARTICLE .CORPAUTHOR { text-align: center }
-.ARTICLE .AUTHOR { text-align: center }
-.ARTICLE .AFFILIATION { text-align: center }
-.ARTICLE .EDITEDBY { text-align: center }
-.ARTICLE .EDITOR { text-align: center }
-.ARTICLE .GRAPHIC { text-align: center }
-.ARTICLE .ABSTRACT { margin-left: 0.5in;
- margin-right: 0.5in;
- font-style: italic }
IncludeExampleDirsInBuild=NO
#
-# Which ways should SGML documents be built?
-# options are: dvi ps pdf html rtf
-#
-SGMLDocWays=
-
-#
# Which ways should DocBook XML documents be built?
# options are: dvi ps pdf html
#
UNAME = uname
#-----------------------------------------------------------------------------
-# SGML stuff
-
-JADE = @JadeCmd@
-
-SGML2DVI = $(DOCBOOK_PREFIX)db2dvi
-SGML2HTML = $(DOCBOOK_PREFIX)db2html
-SGML2PS = $(DOCBOOK_PREFIX)db2ps
-SGML2PDF = $(DOCBOOK_PREFIX)db2pdf
-SGML2RTF = $(DOCBOOK_PREFIX)db2rtf
-
-SGMLSTYLESHEET = $(FPTOOLS_TOP_ABS)/docs/fptools-both.dsl
-
-SRC_SGML2DVI_OPTS = -d $(SGMLSTYLESHEET)
-SRC_SGML2HTML_OPTS = -d $(SGMLSTYLESHEET)
-SRC_SGML2PS_OPTS = -d $(SGMLSTYLESHEET)
-SRC_SGML2RTF_OPTS = -d $(SGMLSTYLESHEET)
-SRC_SGML2PDF_OPTS = -d $(SGMLSTYLESHEET)
-
-DOCBOOK_CATALOG = @Catalog@
-
-#-----------------------------------------------------------------------------
# DocBook XML stuff
XSLTPROC = @XsltprocCmd@
# This file defines Make variables for the
# option flags for each utility program
#
-# $Id: opts.mk,v 1.35 2004/08/15 20:28:06 panne Exp $
+# $Id: opts.mk,v 1.36 2004/08/26 20:08:54 panne Exp $
#
#################################################################################
$(EXTRA_MKDEPENDHS_OPTS)
MKDEPENDLIT_OPTS = $(SRC_MKDEPENDLIT_OPTS) $(WAY$(_way)_MKDEPENDLIT_OPTS) \
$(EXTRA_MKDEPENDLIT_OPTS)
-SGML2DVI_OPTS = $(SRC_SGML2DVI_OPTS) $(WAY$(_way)_SGML2DVI_OPTS) $(EXTRA_SGML2DVI_OPTS)
-SGML2PS_OPTS = $(SRC_SGML2PS_OPTS) $(WAY$(_way)_SGML2PS_OPTS) $(EXTRA_SGML2PS_OPTS)
-SGML2PDF_OPTS = $(SRC_SGML2PDF_OPTS) $(WAY$(_way)_SGML2PDF_OPTS) $(EXTRA_SGML2PDF_OPTS)
-SGML2RTF_OPTS = $(SRC_SGML2RTF_OPTS) $(WAY$(_way)_SGML2RTF_OPTS) $(EXTRA_SGML2RTF_OPTS)
-SGML2HTML_OPTS = $(SRC_SGML2HTML_OPTS) $(WAY$(_way)_SGML2HTML_OPTS) $(EXTRA_SGML2HTML_OPTS)
XSLTPROC_OPTS = $(WAY$(_way)_XSLTPROC_OPTS) $(EXTRA_XSLTPROC_OPTS)
FOP_OPTS = $(WAY$(_way)_FOP_OPTS) $(EXTRA_FOP_OPTS)
UNLIT_OPTS = $(SRC_UNLIT_OPTS) $(WAY$(_way)_UNLIT_OPTS) $(EXTRA_UNLIT_OPTS)
fig2dev -L latex $< $@
#-----------------------------------------------------------------------------
-# SGML suffix rules
-#
-%.dvi : %.sgml
- @$(RM) $@
- $(SGML2DVI) $(SGML2DVI_OPTS) $<
-
-%.ps : %.sgml
- @$(RM) $@
- $(SGML2PS) $(SGML2PS_OPTS) $<
-
-%.html : %.sgml
- @$(RM) $@
-# $(PERL) $(COLLATEINDEX) -N -o index.sgml
-# $(JADE) -t sgml -V html-index -d $(SGMLSTYLESHEET) -c $(DOCBOOK_CATALOG) $<
-# $(PERL) $(COLLATEINDEX) -N -o index.sgml
- $(SGML2HTML) $(SGML2HTML_OPTS) $<
-# touch the .html file so that it is seen to be built
- @touch $@
-
-%.html : %.tex
- @$(RM) $@
- $(HEVEA) $(HEVEA_OPTS) $(patsubst %.tex,%.hva,$<) $<
- $(HEVEA) $(HEVEA_OPTS) $(patsubst %.tex,%.hva,$<) $<
- $(HACHA) $(HACHA_OPTS) $(patsubst %.tex,%.html,$<)
-# Run HeVeA twice to resolve labels
-
-%.rtf : %.sgml
- @$(RM) $@
- $(SGML2RTF) $(SGML2RTF_OPTS) $<
-
-%.pdf : %.sgml
- @$(RM) $@
- $(SGML2PDF) $(SGML2PDF_OPTS) $<
-
-#-----------------------------------------------------------------------------
# Literate suffix rules
%.prl : %.lprl
endif
ifneq "$(INSTALL_DOCS)" ""
-ifneq "$(SGMLDocWays)" ""
-install-docs:: $(INSTALL_DOCS)
- @$(INSTALL_DIR) $(datadir)
- for i in $(INSTALL_DOCS); do \
- $(INSTALL_DATA) $(INSTALL_OPTS) $$i $(datadir); \
- done
-endif
ifneq "$(XMLDocWays)" ""
install-docs:: $(INSTALL_DOCS)
@$(INSTALL_DIR) $(datadir)
endif
endif
-ifneq "$(INSTALL_SGML_DOC)" ""
-ifneq "$(SGMLDocWays)" ""
-install-docs:: $(foreach i,$(SGMLDocWays),$(INSTALL_SGML_DOC).$i)
- @$(INSTALL_DIR) $(datadir)
- @for i in $(SGMLDocWays); do \
- if [ $$i = "html" ]; then \
- $(INSTALL_DIR) $(datadir)/html; \
- echo $(CP) -r $(INSTALL_SGML_DOC) $(datadir)/html; \
- $(CP) -r $(INSTALL_SGML_DOC) $(datadir)/html; \
- else \
- echo $(INSTALL_DATA) $(INSTALL_OPTS) $(INSTALL_SGML_DOC).$$i $(datadir); \
- $(INSTALL_DATA) $(INSTALL_OPTS) $(INSTALL_SGML_DOC).$$i $(datadir); \
- fi \
- done
-endif
-endif
-
#
# Use with care..
#
################################################################################
#
-# SGML Documentation
-#
-################################################################################
-
-.PHONY: dvi ps html pdf rtf
-
-ifneq "$(SGML_DOC)" ""
-
-all :: $(SGMLDocWays)
-
-# multi-file SGML document: main document name is specified in $(SGML_DOC),
-# sub-documents (.sgml files) listed in $(SGML_SRCS).
-
-ifeq "$(SGML_SRCS)" ""
-SGML_SRCS = $(wildcard *.sgml)
-endif
-
-SGML_TEX = $(addsuffix .tex,$(SGML_DOC))
-SGML_DVI = $(addsuffix .dvi,$(SGML_DOC))
-SGML_PS = $(addsuffix .ps,$(SGML_DOC))
-SGML_PDF = $(addsuffix .pdf,$(SGML_DOC))
-SGML_RTF = $(addsuffix .rtf,$(SGML_DOC))
-SGML_HTML = $(addsuffix .html,$(SGML_DOC))
-# HTML output goes in a subdirectory on its own.
-SGML_TEXT = $(addsuffix .txt,$(SGML_DOC))
-
-$(SGML_DVI) $(SGML_PS) $(SGML_HTML) $(SGML_TEXT) $(SGML_PDF) :: $(SGML_SRCS)
-
-dvi :: $(SGML_DVI)
-ps :: $(SGML_PS)
-pdf :: $(SGML_PDF)
-rtf :: $(SGML_RTF)
-html :: $(SGML_HTML)
-txt :: $(SGML_TEXT)
-
-CLEAN_FILES += $(SGML_TEXT) $(SGML_TEX) $(SGML_PS) $(SGML_DVI) $(SGML_PDF) $(SGML_RTF) $(SGML_HTML) $(SGML_DOC)-*.html
-# can't use $(SGML_SRCS) here, it was maybe used elsewhere
-
-extraclean ::
- $(RM) -rf DBTOHTML_OUTPUT_*
- $(RM) -rf *.junk/
- $(RM) -rf $(SGML_DOC)
-endif
-
-################################################################################
-#
# DocBook XML Documentation
#
################################################################################