source: trunk/third/transcript/instlman.sh @ 9090

Revision 9090, 1.7 KB checked in by ghudson, 28 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r9089, which included commits to RCS files with non-trunk default branches.
  • Property svn:executable set to *
Line 
1
2# Copyright 1991, 1992 (C) Adobe Systems Incorporated. All rights reserved.
3# GOVERNMENT END USERS: See notice of rights in Notice file in release directory.
4# PostScript is a registered trademark of Adobe Systems Incorporated
5# TranScript is a registered trademark of Adobe Systems Incorporated
6# RCSID: $Header: /afs/dev.mit.edu/source/repository/third/transcript/instlman.sh,v 1.1.1.1 1996-10-07 20:25:22 ghudson Exp $
7
8# install man pages
9
10COM="enscript ps4014 ps630 pscat psdit psfonts psplot psroff pssymbols \
11ptroff transcript pslpr psnup psfax psdraft ppanel"
12
13SYS="pscomm psdman pscatmap"
14
15if [ -r ./config ]
16then
17    . ./config
18else
19    echo "No config file!"
20    exit 1
21fi
22
23if [ $QMS = "TRUE" ]
24then
25    SYS="$SYS qmscomm"
26fi
27if [ $PARALLEL = "TRUE" ]
28then
29    SYS="$SYS lpcomm"
30fi
31if [ $FASTPORT = "TRUE" ]
32then
33   SYS="$SYS fpcomm"
34fi
35if [ $CAP = "TRUE" ]
36then
37    SYS="$SYS capcomm"
38fi
39if [ $APPSOCKET = "TRUE" ]
40then
41    SYS="$SYS ascomm"
42fi
43
44FILES="afm postscript"
45
46if [ $NROFF = "TRUE" ]
47then
48    where=cat
49else
50    where=man
51fi
52
53if [ ! -d $where ]
54then
55    mkdir $where
56fi
57
58cd $where
59
60for j in `ls $SRCDIR/$where`
61do
62    sed -e s,XPSLIBDIRX,$PSLIBDIR,g \
63        -e s,XTROFFFONTDIRX,$TROFFFONTDIR,g \
64        -e s,XPSTEMPDIRX,$PSTEMPDIR,g \
65        -e s,XDITDIRX,$DITDIR,g \
66        $SRCDIR/$where/$j > $j
67done
68
69if [ $OPSYS="BSD" ]
70then
71    rm pscomm.sysv
72    mv pscomm.bsd pscomm.8p
73    rm qmscomm.sysv
74    mv qmscomm.bsd qmscomm.8p
75    SYS="$SYS psint"
76else
77    rm pscomm.bsd
78    mv pscomm.sysv pscomm.8p
79    rm qmscomm.bsd
80    mv qmscomm.sysv qmscomm.8p
81    SYS="$SYS psinterface"
82fi
83
84for j in $COM
85do
86    cp $j.1p $MANCOM/$j.$EXTCOM
87done
88for j in $SYS
89do
90    cp $j.8p $MANSYS/$j.$EXTSYS
91done
92for j in $FILES
93do
94    cp $j.7p $MANFILES/$j.$EXTFILES
95done
96
97
98   
Note: See TracBrowser for help on using the repository browser.