Move comment lines to make it work without stripping.
[s-roff.git] / test-groff.in
blobf13c5e4488f75c5e0e8241e8abf61cf2ea0548c2
1 #! /bin/sh
3 # Copyright (C) 1989-2000, 2001, 2002, 2003, 2004, 2005
4 # Free Software Foundation, Inc.
5 #
6 # This file is part of groff.
7 #
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 2, or (at your option) any later
11 # 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
16 # for more details.
18 # You should have received a copy of the GNU General Public License along
19 # with groff; see the file COPYING. If not, write to the Free Software
20 # Foundation, 51 Franklin St - Fifth Floor, Boston, MA 02110-1301, USA.
22 # This script runs groff without requiring that it be installed.
24 SEP='@PATH_SEPARATOR@'
25 builddir=@abs_top_builddir@/src
26 srcdir=@abs_top_srcdir@
28 GROFF_BIN_PATH=\
29 $builddir/roff/groff$SEP\
30 $builddir/roff/troff$SEP\
31 $builddir/preproc/preconv$SEP\
32 $builddir/preproc/pic$SEP\
33 $builddir/preproc/eqn$SEP\
34 $builddir/preproc/tbl$SEP\
35 $builddir/preproc/grn$SEP\
36 $builddir/preproc/refer$SEP\
37 $builddir/preproc/soelim$SEP\
38 $builddir/preproc/html$SEP\
39 $builddir/devices/grops$SEP\
40 $builddir/devices/grodvi$SEP\
41 $builddir/devices/grotty$SEP\
42 $builddir/devices/grolj4$SEP\
43 $builddir/devices/grolbp$SEP\
44 $builddir/devices/grohtml$SEP\
45 $builddir/devices/xditview
47 XENVIRONMENT=$srcdir/src/devices/xditview/GXditview.ad
48 export XENVIRONMENT
50 GROFF_COMMAND_PREFIX=
51 GROFF_FONT_PATH=$builddir/../font$SEP$srcdir/font
52 GROFF_TMAC_PATH=$srcdir/tmac
53 export GROFF_BIN_PATH GROFF_COMMAND_PREFIX GROFF_FONT_PATH GROFF_TMAC_PATH
55 exec $builddir/roff/groff/groff ${1+"$@"}