whitespace
[s-roff.git] / test-groff.in
blob6a9e10fe9ce90c7bd691ef668dc45052c89df5c9
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/preconv$SEP\
12 $builddir/preproc/pic$SEP\
13 $builddir/preproc/eqn$SEP\
14 $builddir/preproc/tbl$SEP\
15 $builddir/preproc/grn$SEP\
16 $builddir/preproc/refer$SEP\
17 $builddir/preproc/soelim$SEP\
18 $builddir/preproc/html$SEP\
19 $builddir/devices/grops$SEP\
20 $builddir/devices/grodvi$SEP\
21 $builddir/devices/grotty$SEP\
22 $builddir/devices/grolj4$SEP\
23 $builddir/devices/grolbp$SEP\
24 $builddir/devices/grohtml$SEP\
25 $builddir/devices/xditview
27 XENVIRONMENT=$srcdir/src/devices/xditview/GXditview.ad
28 export XENVIRONMENT
30 GROFF_COMMAND_PREFIX=
31 GROFF_FONT_PATH=$builddir/../font$SEP$srcdir/font
32 GROFF_TMAC_PATH=$srcdir/tmac
33 export GROFF_BIN_PATH GROFF_COMMAND_PREFIX GROFF_FONT_PATH GROFF_TMAC_PATH
35 exec $builddir/roff/groff/groff ${1+"$@"}