diff options
author | Ruslan Ermilov <ru@FreeBSD.org> | 2002-10-11 08:52:17 +0000 |
---|---|---|
committer | Ruslan Ermilov <ru@FreeBSD.org> | 2002-10-11 08:52:17 +0000 |
commit | cb16e62e58771a9afb5157ca72a089f2550d39f8 (patch) | |
tree | 8c45b0385e4d4d3172ddd7926de65d06c5b2e88b /contrib/groff/test-groff | |
parent | 427fbef08794a3e7f22acedf86a7e87a0a482e17 (diff) |
Virgin import of FSF groff v1.18.1
Notes
Notes:
svn path=/vendor/groff/dist/; revision=104862
Diffstat (limited to 'contrib/groff/test-groff')
-rwxr-xr-x | contrib/groff/test-groff | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/contrib/groff/test-groff b/contrib/groff/test-groff index 4e06e9623e68..cceecee58060 100755 --- a/contrib/groff/test-groff +++ b/contrib/groff/test-groff @@ -1,17 +1,18 @@ #! /bin/sh # This script runs groff without requiring that it be installed. -# The current directory must be the build directory. +# The current directory must be the top build directory. builddir=./src srcdir=`echo $0 | sed -e 's;/[^/]*$;;'` -if test ! -d $builddir/roff/groff || test ! -r $builddir/roff/groff/groff -then - echo $0 must be run with the build directory as the current directory 2>&1 - exit 1 +if test ! -d $builddir/roff/groff || \ + test ! -r $builddir/roff/groff/groff; then + echo $0 must be run with the top build directory as the current directory 2>&1 + exit 1 fi GROFF_BIN_PATH=\ +$builddir/roff/groff:\ $builddir/roff/troff:\ $builddir/preproc/pic:\ $builddir/preproc/eqn:\ @@ -34,7 +35,7 @@ XENVIRONMENT=`cd $srcdir; pwd`/src/xditview/GXditview.ad export XENVIRONMENT GROFF_COMMAND_PREFIX= -GROFF_FONT_PATH=$builddir:$srcdir/font +GROFF_FONT_PATH=$builddir/../font:$srcdir/font GROFF_TMAC_PATH=$srcdir/tmac export GROFF_BIN_PATH GROFF_COMMAND_PREFIX GROFF_FONT_PATH GROFF_TMAC_PATH |