3 --- tkcvs/doinstall.orig Tue Jan 9 22:17:52 1996
4 +++ tkcvs/doinstall Fri Oct 31 09:21:23 1997
7 # Some rational and reasonable defaults.
9 -INSTALLDIR=/usr/local/lib
10 -BINDIR=/usr/local/bin
11 -MANDIR=/usr/local/man/mann
12 +INSTALLDIR=${PREFIX}/share
14 +MANDIR=${PREFIX}/man/man1
16 INSTALL_PROG=./install-sh
18 # This must be an X based editor -- do NOT use vi except via an xterm
24 # Find a Tk interpreter.
28 if [ ! -f $WISH ]; then
29 - WISH=`which wish4.1`
30 + WISH=`which wish4.1`
32 if [ ! -f $WISH ]; then
33 - echo "I cant find a Tk interpreter on your system"
34 + echo "I cant find a usefull Tk interpreter on your system"
38 # Find where the global bitmaps are.
40 -for GDIR in /usr/include/X11/bitmaps /usr/openwin/include/X11/bitmaps /usr/X11/include/bitmaps /usr/include/bitmaps /usr/local/include/bitmaps
41 +for GDIR in /usr/X11R6/include/X11/bitmaps /usr/openwin/include/X11/bitmaps /usr/X11/include/bitmaps /usr/include/bitmaps ${PREFIX}/include/bitmaps
43 if [ -d "$GDIR" ]; then
47 # Some directories we have to create.
49 -LDIR=${INSTALLDIR}/bitmaps
50 TCDIR=${INSTALLDIR}/tkcvs
51 -mkdir -p $LDIR $TCDIR
52 -for dir in $LDIR $TCDIR
53 +LDIR=${TCDIR}/bitmaps
54 +mkdir -p $LDIR $TCDIR
55 +for dir in $TCDIR $LDIR
57 if [ ! -d $dir ]; then
58 echo "I cant create the directory $dir"
63 -for f in *.n ../tkdiff/*.n
64 +for f in *.1 ../tkdiff/*.1
66 $INSTALL_PROG -m 444 $f $MANDIR