summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/groff/test-groff
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/usr.bin/groff/test-groff')
-rw-r--r--gnu/usr.bin/groff/test-groff26
1 files changed, 0 insertions, 26 deletions
diff --git a/gnu/usr.bin/groff/test-groff b/gnu/usr.bin/groff/test-groff
deleted file mode 100644
index 35fd0e07c20..00000000000
--- a/gnu/usr.bin/groff/test-groff
+++ /dev/null
@@ -1,26 +0,0 @@
-#! /bin/sh
-# This script runs groff without requiring that it be installed.
-# The current directory must be the build directory.
-
-builddir=.
-srcdir=`echo $0 | sed -e 's;/[^/]*$;;'`
-
-if test ! -d groff || test ! -r groff/groff
-then
- echo $0 must be run with the build directory as the current directory 2>&1
- exit 1
-fi
-
-PATH=$builddir/troff:$builddir/pic:$builddir/eqn:$builddir/tbl:$builddir/refer:$builddir/soelim:$builddir/grops:$builddir/grodvi:$builddir/grotty:$srcdir/$builddir/xditview:$PATH
-
-test -n "$srcdir" || srcdir=.
-
-XENVIRONMENT=`cd $srcdir; pwd`/xditview/GXditview.ad
-export XENVIRONMENT
-
-GROFF_COMMAND_PREFIX=
-GROFF_FONT_PATH=$builddir:$srcdir
-GROFF_TMAC_PATH=$srcdir/tmac:$srcdir/troff
-export PATH GROFF_COMMAND_PREFIX GROFF_FONT_PATH GROFF_TMAC_PATH
-
-exec $builddir/groff/groff ${1+"$@"}