Commit ce93b8c5 authored by panne's avatar panne
Browse files

[project @ 2000-06-01 10:45:09 by panne]

The DocBook saga continues: Look for already installed catalog first.
parent e6612ed1
......@@ -491,7 +491,7 @@ AC_PATH_PROGS(CompressCmd,gzip compress,gzip)
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,
glafp-utils/docbook/CATALOG*)
/usr/share/sgml/CATALOG.docbkdsl $hardtop/glafp-utils/docbook/CATALOG*)
if test -z "$Catalog"; then
AC_MSG_RESULT([Warning: You will not be able to build the documentation.])
fi
......
......@@ -3,11 +3,9 @@ include $(TOP)/mk/boilerplate.mk
SCRIPT_PROG=../db2dvi
SCRIPT_OBJS=db2dvi.sh
SCRIPT_SUBST_VARS=JADE FPTOOLS_CATALOG_FILE
SCRIPT_SUBST_VARS=JADE DOCBOOK_CATALOG
INTERP=$(SHELL)
FPTOOLS_CATALOG_FILE = $(FPTOOLS_TOP_ABS)/glafp-utils/docbook/CATALOG
CLEAN_FILES += $(SCRIPT_PROG)
DESTDIR=$(INSTSCRIPTDIR)
......
DOCBOOK_CATALOG=$1
shift
if [ ! -f "$DOCBOOK_CATALOG" ] ; then
echo "CATALOG file not set up; see installation guide for details."
exit 1
......
......@@ -3,11 +3,10 @@ include $(TOP)/mk/boilerplate.mk
SCRIPT_PROG=../db2html
SCRIPT_OBJS=db2html.sh
SCRIPT_SUBST_VARS=JADE FPTOOLS_CATALOG_FILE HTML_DIR
SCRIPT_SUBST_VARS=JADE DOCBOOK_CATALOG HTML_DIR
INTERP=$(SHELL)
HTML_DIR=$(FPTOOLS_TOP_ABS)/glafp-utils/docbook
FPTOOLS_CATALOG_FILE = $(FPTOOLS_TOP_ABS)/glafp-utils/docbook/CATALOG
CLEAN_FILES += $(SCRIPT_PROG)
DESTDIR=$(INSTSCRIPTDIR)
......
DOCBOOK_CATALOG=$1
shift
if [ ! -f "$DOCBOOK_CATALOG" ] ; then
echo "CATALOG file not set up; see installation guide for details."
exit 1
......
......@@ -3,11 +3,9 @@ include $(TOP)/mk/boilerplate.mk
SCRIPT_PROG=../db2pdf
SCRIPT_OBJS=db2pdf.sh
SCRIPT_SUBST_VARS=JADE FPTOOLS_CATALOG_FILE
SCRIPT_SUBST_VARS=JADE DOCBOOK_CATALOG
INTERP=$(SHELL)
FPTOOLS_CATALOG_FILE = $(FPTOOLS_TOP_ABS)/glafp-utils/docbook/CATALOG
CLEAN_FILES += $(SCRIPT_PROG)
DESTDIR=$(INSTSCRIPTDIR)
......
DOCBOOK_CATALOG=$1
shift
if [ ! -f "$DOCBOOK_CATALOG" ] ; then
echo "CATALOG file not set up; see installation guide for details."
exit 1
......
......@@ -3,11 +3,8 @@ include $(TOP)/mk/boilerplate.mk
SCRIPT_PROG=../db2ps
SCRIPT_OBJS=db2ps.sh
SCRIPT_SUBST_VARS=JADE FPTOOLS_CATALOG_FILE
INTERP=$(SHELL)
FPTOOLS_CATALOG_FILE = $(FPTOOLS_TOP_ABS)/glafp-utils/docbook/CATALOG
CLEAN_FILES += $(SCRIPT_PROG)
DESTDIR=$(INSTSCRIPTDIR)
......
......@@ -8,9 +8,10 @@ fi
output="`echo $1 | sed 's,\.sgml$,.ps,;s,\.sgm$,.ps,'`"
outdvi="`echo $1 | sed 's,\.sgml$,.dvi,;s,\.sgm$,.dvi,'`"
db2dvi $1
db2dvi "$@"
dvips $outdvi -o $output
# SUP: What's this stuff below???
exit 0
if [ $# -eq 1 ]
......@@ -31,7 +32,7 @@ then
fi
fi
db2dvi $1
db2dvi "$@"
if [ ! -f ${TMPFN}.dvi ]
then
......
......@@ -3,11 +3,9 @@ include $(TOP)/mk/boilerplate.mk
SCRIPT_PROG=../db2rtf
SCRIPT_OBJS=db2rtf.sh
SCRIPT_SUBST_VARS=JADE FPTOOLS_CATALOG_FILE
SCRIPT_SUBST_VARS=JADE DOCBOOK_CATALOG
INTERP=$(SHELL)
FPTOOLS_CATALOG_FILE = $(FPTOOLS_TOP_ABS)/glafp-utils/docbook/CATALOG
CLEAN_FILES += $(SCRIPT_PROG)
DESTDIR=$(INSTSCRIPTDIR)
......
DOCBOOK_CATALOG=$1
shift
if [ ! -f "$DOCBOOK_CATALOG" ] ; then
echo "CATALOG file not set up; see installation guide for details."
exit 1
......
......@@ -650,12 +650,12 @@ SGML2RTF = $(DOCBOOK_PREFIX)db2rtf
SGMLSTYLESHEET = $(FPTOOLS_TOP_ABS)/docs/fptools-both.dsl
SRC_SGML2DVI_OPTS = $(DOCBOOK_CATALOG) -d $(SGMLSTYLESHEET)
SRC_SGML2HTML_OPTS = $(DOCBOOK_CATALOG) -d $(SGMLSTYLESHEET)
SRC_SGML2PS_OPTS = $(DOCBOOK_CATALOG) -d $(SGMLSTYLESHEET)
SRC_SGML2RTF_OPTS = $(DOCBOOK_CATALOG) -d $(SGMLSTYLESHEET)
SRC_SGML2DVI_OPTS = -d $(SGMLSTYLESHEET)
SRC_SGML2HTML_OPTS = -d $(SGMLSTYLESHEET)
SRC_SGML2PS_OPTS = -d $(SGMLSTYLESHEET)
SRC_SGML2RTF_OPTS = -d $(SGMLSTYLESHEET)
DOCBOOK_CATALOG = $(FPTOOLS_TOP_ABS)/@Catalog@
DOCBOOK_CATALOG = @Catalog@
#-----------------------------------------------------------------------------
# FPtools support software
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment