* release of groffer 0.9.19
[s-roff.git] / test-groff.in
blob013e16663bfb4ea7dc2c1a4e4af8627521f71ca7
1 #! /bin/sh
2 # This script runs groff without requiring that it be installed.
4 SEP='@PATH_SEPARATOR@'
5 builddir=@abs_top_builddir@/src
6 srcdir=@abs_top_srcdir@
8 GROFF_BIN_PATH=\
9 $builddir/roff/groff$SEP\
10 $builddir/roff/troff$SEP\
11 $builddir/preproc/pic$SEP\
12 $builddir/preproc/eqn$SEP\
13 $builddir/preproc/tbl$SEP\
14 $builddir/preproc/grn$SEP\
15 $builddir/preproc/refer$SEP\
16 $builddir/preproc/soelim$SEP\
17 $builddir/preproc/html$SEP\
18 $builddir/devices/grops$SEP\
19 $builddir/devices/grodvi$SEP\
20 $builddir/devices/grotty$SEP\
21 $builddir/devices/grolj4$SEP\
22 $builddir/devices/grolbp$SEP\
23 $builddir/devices/grohtml$SEP\
24 $builddir/devices/xditview
26 XENVIRONMENT=$srcdir/src/devices/xditview/GXditview.ad
27 export XENVIRONMENT
29 GROFF_COMMAND_PREFIX=
30 GROFF_FONT_PATH=$builddir/../font$SEP$srcdir/font
31 GROFF_TMAC_PATH=$srcdir/tmac
32 export GROFF_BIN_PATH GROFF_COMMAND_PREFIX GROFF_FONT_PATH GROFF_TMAC_PATH
34 exec $builddir/roff/groff/groff ${1+"$@"}