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 | |
---|
10 | COM="enscript ps4014 ps630 pscat psdit psfonts psplot psroff pssymbols \ |
---|
11 | ptroff transcript pslpr psnup psfax psdraft ppanel" |
---|
12 | |
---|
13 | SYS="pscomm psdman pscatmap" |
---|
14 | |
---|
15 | if [ -r ./config ] |
---|
16 | then |
---|
17 | . ./config |
---|
18 | else |
---|
19 | echo "No config file!" |
---|
20 | exit 1 |
---|
21 | fi |
---|
22 | |
---|
23 | if [ $QMS = "TRUE" ] |
---|
24 | then |
---|
25 | SYS="$SYS qmscomm" |
---|
26 | fi |
---|
27 | if [ $PARALLEL = "TRUE" ] |
---|
28 | then |
---|
29 | SYS="$SYS lpcomm" |
---|
30 | fi |
---|
31 | if [ $FASTPORT = "TRUE" ] |
---|
32 | then |
---|
33 | SYS="$SYS fpcomm" |
---|
34 | fi |
---|
35 | if [ $CAP = "TRUE" ] |
---|
36 | then |
---|
37 | SYS="$SYS capcomm" |
---|
38 | fi |
---|
39 | if [ $APPSOCKET = "TRUE" ] |
---|
40 | then |
---|
41 | SYS="$SYS ascomm" |
---|
42 | fi |
---|
43 | |
---|
44 | FILES="afm postscript" |
---|
45 | |
---|
46 | if [ $NROFF = "TRUE" ] |
---|
47 | then |
---|
48 | where=cat |
---|
49 | else |
---|
50 | where=man |
---|
51 | fi |
---|
52 | |
---|
53 | if [ ! -d $where ] |
---|
54 | then |
---|
55 | mkdir $where |
---|
56 | fi |
---|
57 | |
---|
58 | cd $where |
---|
59 | |
---|
60 | for j in `ls $SRCDIR/$where` |
---|
61 | do |
---|
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 |
---|
67 | done |
---|
68 | |
---|
69 | if [ $OPSYS="BSD" ] |
---|
70 | then |
---|
71 | rm pscomm.sysv |
---|
72 | mv pscomm.bsd pscomm.8p |
---|
73 | rm qmscomm.sysv |
---|
74 | mv qmscomm.bsd qmscomm.8p |
---|
75 | SYS="$SYS psint" |
---|
76 | else |
---|
77 | rm pscomm.bsd |
---|
78 | mv pscomm.sysv pscomm.8p |
---|
79 | rm qmscomm.bsd |
---|
80 | mv qmscomm.sysv qmscomm.8p |
---|
81 | SYS="$SYS psinterface" |
---|
82 | fi |
---|
83 | |
---|
84 | for j in $COM |
---|
85 | do |
---|
86 | cp $j.1p $MANCOM/$j.$EXTCOM |
---|
87 | done |
---|
88 | for j in $SYS |
---|
89 | do |
---|
90 | cp $j.8p $MANSYS/$j.$EXTSYS |
---|
91 | done |
---|
92 | for j in $FILES |
---|
93 | do |
---|
94 | cp $j.7p $MANFILES/$j.$EXTFILES |
---|
95 | done |
---|
96 | |
---|
97 | |
---|
98 | |
---|
Note: See
TracBrowser
for help on using the repository browser.