PageRenderTime 11ms CodeModel.GetById 1ms app.highlight 5ms RepoModel.GetById 1ms app.codeStats 0ms

/contrib/groff/test-groff.in

https://bitbucket.org/freebsd/freebsd-head/
Autoconf | 34 lines | 27 code | 5 blank | 2 comment | 0 complexity | e36fbefee3cb93ad5e125b82d0abd6a7 MD5 | raw file
 1#! /bin/sh
 2# This script runs groff without requiring that it be installed.
 3
 4SEP='@PATH_SEPARATOR@'
 5builddir=@abs_top_builddir@/src
 6srcdir=@abs_top_srcdir@
 7
 8GROFF_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
26XENVIRONMENT=$srcdir/src/devices/xditview/GXditview.ad
27export XENVIRONMENT
28
29GROFF_COMMAND_PREFIX=
30GROFF_FONT_PATH=$builddir/../font$SEP$srcdir/font
31GROFF_TMAC_PATH=$srcdir/tmac
32export GROFF_BIN_PATH GROFF_COMMAND_PREFIX GROFF_FONT_PATH GROFF_TMAC_PATH
33
34exec $builddir/roff/groff/groff ${1+"$@"}