3 # Copyright (C) 1989-2000, 2001, 2002, 2003, 2004, 2005, 2009
4 # Free Software Foundation, Inc.
6 # This file is part of groff.
8 # groff is free software; you can redistribute it and/or modify it under
9 # the terms of the GNU General Public License as published by the Free
10 # Software Foundation, either version 3 of the License, or
11 # (at your option) any later version.
13 # groff is distributed in the hope that it will be useful, but WITHOUT ANY
14 # WARRANTY; without even the implied warranty of MERCHANTABILITY or
15 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
18 # You should have received a copy of the GNU General Public License
19 # along with this program. If not, see <http://www.gnu.org/licenses/>.
21 # This script runs groff without requiring that it be installed.
23 SEP='@PATH_SEPARATOR@'
24 builddir=@abs_top_builddir@/src
25 srcdir=@abs_top_srcdir@
28 $builddir/roff/groff$SEP\
29 $builddir/roff/troff$SEP\
30 $builddir/preproc/preconv$SEP\
31 $builddir/preproc/pic$SEP\
32 $builddir/preproc/eqn$SEP\
33 $builddir/preproc/tbl$SEP\
34 $builddir/preproc/grn$SEP\
35 $builddir/preproc/refer$SEP\
36 $builddir/preproc/soelim$SEP\
37 $builddir/preproc/html$SEP\
38 $builddir/devices/grops$SEP\
39 $builddir/devices/grodvi$SEP\
40 $builddir/devices/grotty$SEP\
41 $builddir/devices/grolj4$SEP\
42 $builddir/devices/grolbp$SEP\
43 $builddir/devices/grohtml$SEP\
44 $builddir/devices/xditview
46 XENVIRONMENT=$srcdir/src/devices/xditview/GXditview.ad
50 GROFF_FONT_PATH=$builddir/../font$SEP$srcdir/font
51 GROFF_TMAC_PATH=$srcdir/tmac
52 export GROFF_BIN_PATH GROFF_COMMAND_PREFIX GROFF_FONT_PATH GROFF_TMAC_PATH
54 exec $builddir/roff/groff/groff ${1+"$@"}