diff options
author | ru <ru@FreeBSD.org> | 2002-10-11 08:52:17 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2002-10-11 08:52:17 +0000 |
commit | 49694bd3ad767a896dc092289a2b59c780a3ba02 (patch) | |
tree | 3ab4ff2268c18cde66cbf296cc57caf69acdea70 /contrib/groff/test-groff | |
parent | b6731a278e1260409b42bb486cc7592dd1a19203 (diff) | |
parent | 127e61728bacf1fb90edd8be1b0c406619e78bc8 (diff) | |
download | FreeBSD-src-49694bd3ad767a896dc092289a2b59c780a3ba02.zip FreeBSD-src-49694bd3ad767a896dc092289a2b59c780a3ba02.tar.gz |
This commit was generated by cvs2svn to compensate for changes in r104862,
which included commits to RCS files with non-trunk default branches.
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 4e06e96..cceecee 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 |