]> CyberLeo.Net >> Repos - FreeBSD/releng/10.0.git/blob - contrib/groff/test-groff.in
- Copy stable/10 (r259064) to releng/10.0 as part of the
[FreeBSD/releng/10.0.git] / contrib / groff / test-groff.in
1 #! /bin/sh
2 # This script runs groff without requiring that it be installed.
3
4 SEP='@PATH_SEPARATOR@'
5 builddir=@abs_top_builddir@/src
6 srcdir=@abs_top_srcdir@
7
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
25
26 XENVIRONMENT=$srcdir/src/devices/xditview/GXditview.ad
27 export XENVIRONMENT
28
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
33
34 exec $builddir/roff/groff/groff ${1+"$@"}