/[groff]/groff/test-groff.in
ViewVC logotype

Diff of /groff/test-groff.in

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.3 by wlemb, Tue Jun 1 10:46:52 2004 UTC revision 1.4 by wl, Thu Dec 16 13:09:54 2004 UTC
# Line 1  Line 1 
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\
# Line 31  $builddir/devices/grolbp$SEP\ Line 23  $builddir/devices/grolbp$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=

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26