1 |
#! /bin/sh |
#! /bin/sh |
2 |
# This script runs groff without requiring that it be installed. |
# This script runs groff without requiring that it be installed. |
|
# The current directory must be the top build directory. |
|
3 |
|
|
4 |
SEP='@PATH_SEPARATOR@' |
SEP='@PATH_SEPARATOR@' |
5 |
EXEEXT=@EXEEXT@ |
builddir=@abs_top_builddir@/src |
6 |
builddir=./src |
srcdir=@abs_top_srcdir@ |
|
srcdir=`echo $0 | sed -e 's;/[^/]*$;;'` |
|
|
|
|
|
if test ! -d $builddir/roff/groff || \ |
|
|
test ! -r $builddir/roff/groff/groff$EXEEXT; then |
|
|
echo $0 must be run with the top build directory as the current directory 2>&1 |
|
|
exit 1 |
|
|
fi |
|
7 |
|
|
8 |
GROFF_BIN_PATH=\ |
GROFF_BIN_PATH=\ |
9 |
$builddir/roff/groff$SEP\ |
$builddir/roff/groff$SEP\ |
23 |
$builddir/devices/grohtml$SEP\ |
$builddir/devices/grohtml$SEP\ |
24 |
$builddir/devices/xditview |
$builddir/devices/xditview |
25 |
|
|
26 |
test -n "$srcdir" || srcdir=. |
XENVIRONMENT=$srcdir/src/devices/xditview/GXditview.ad |
|
|
|
|
XENVIRONMENT=`cd $srcdir; pwd`/src/devices/xditview/GXditview.ad |
|
27 |
export XENVIRONMENT |
export XENVIRONMENT |
28 |
|
|
29 |
GROFF_COMMAND_PREFIX= |
GROFF_COMMAND_PREFIX= |