Commit fafc16e4 authored by rrt's avatar rrt
Browse files

[project @ 2000-05-12 16:49:42 by rrt]

Reorganisation to parametrise *.sh files on name of Jade, which is
now found by the configure script.
parent 04205219
TOP=..
include $(TOP)/mk/boilerplate.mk
SCRIPT_PROG=db2html
SCRIPT_OBJS=db2html.sh
SCRIPT_SUBST_VARS=HTML_DIR
INTERP=$(SHELL)
HTML_DIR=$(FPTOOLS_TOP_ABS)/glafp-utils/docbook
CLEAN_FILES += $(SCRIPT_PROG)
DESTDIR=$(INSTSCRIPTDIR)
SUBDIRS = db2dvi.dir db2html.dir db2pdf.dir db2ps.dir db2rtf.dir
include $(TOP)/mk/target.mk
TOP=..
include $(TOP)/mk/boilerplate.mk
SCRIPT_PROG=../db2dvi
SCRIPT_OBJS=db2dvi.sh
SCRIPT_SUBST_VARS=JADE
INTERP=$(SHELL)
CLEAN_FILES += $(SCRIPT_PROG)
DESTDIR=$(INSTSCRIPTDIR)
include $(TOP)/mk/target.mk
......@@ -32,7 +32,7 @@ echo OUTPUT FILE NAME IS $output
TMPFN=`echo $1 | sed 's/\.sgml//'`
jade -t tex -d ${DB_STYLESHEET}\#print -o ${TMPFN}.tex $1
$JADE -t tex -d ${DB_STYLESHEET}\#print -o ${TMPFN}.tex $1
jadetex ${TMPFN}.tex
......
TOP=..
include $(TOP)/mk/boilerplate.mk
SCRIPT_PROG=../db2html
SCRIPT_OBJS=db2html.sh
SCRIPT_SUBST_VARS=JADE HTML_DIR
INTERP=$(SHELL)
HTML_DIR=$(FPTOOLS_TOP_ABS)/glafp-utils/docbook
CLEAN_FILES += $(SCRIPT_PROG)
DESTDIR=$(INSTSCRIPTDIR)
include $(TOP)/mk/target.mk
TOP=..
include $(TOP)/mk/boilerplate.mk
SCRIPT_PROG=../db2pdf
SCRIPT_OBJS=db2pdf.sh
SCRIPT_SUBST_VARS=JADE
INTERP=$(SHELL)
CLEAN_FILES += $(SCRIPT_PROG)
DESTDIR=$(INSTSCRIPTDIR)
include $(TOP)/mk/target.mk
#! /bin/sh
TMPFN=`echo $1 | sed 's/\.sgml//'`
# Dave Mason's option to specify a different stylesheet
......@@ -30,9 +28,9 @@ then
fi
fi
jade -t tex -d ${DB_STYLESHEET}\#print -o ${TMPFN}.tex $1
$JADE -t tex -d ${DB_STYLESHEET}\#print -o ${TMPFN}.tex $1
pdfjadetex $TMPFN
pdf$JADEtex $TMPFN
if egrep '^LaTeX Warning: There were undefined references.$' ${TMPFN}.log >/dev/null 2>&1
then
......
TOP=..
include $(TOP)/mk/boilerplate.mk
SCRIPT_PROG=../db2ps
SCRIPT_OBJS=db2ps.sh
SCRIPT_SUBST_VARS=JADE
INTERP=$(SHELL)
CLEAN_FILES += $(SCRIPT_PROG)
DESTDIR=$(INSTSCRIPTDIR)
include $(TOP)/mk/target.mk
TOP=..
include $(TOP)/mk/boilerplate.mk
SCRIPT_PROG=../db2rtf
SCRIPT_OBJS=db2rtf.sh
SCRIPT_SUBST_VARS=JADE
INTERP=$(SHELL)
CLEAN_FILES += $(SCRIPT_PROG)
DESTDIR=$(INSTSCRIPTDIR)
include $(TOP)/mk/target.mk
#! /bin/sh
output=db2rtf.rtf
# Dave Mason's option to specify a different stylesheet
......@@ -30,13 +28,13 @@ then
fi
fi
cat $* | jade -t rtf -d ${DB_STYLESHEET}\#print
cat $* | $JADE -t rtf -d ${DB_STYLESHEET}\#print
if [ $# -eq 1 ]
then
mv jade-out.rtf $output
mv $JADE-out.rtf $output
else
cat jade-out.rtf
cat $JADE-out.rtf
fi
exit 0
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