Commit | Line | Data |
---|---|---|
8c5eec2f DF |
1 | # |
2 | # Copyright (c) 1980 Regents of the University of California. | |
3 | # All rights reserved. The Berkeley software License Agreement | |
4 | # specifies the terms and conditions for redistribution. | |
5 | # | |
7f9fba16 | 6 | # @(#)Makefile 5.2 (Berkeley) %G% |
f6a33b51 KL |
7 | # |
8 | # reorder gives an editor command for most common terminals | |
9 | # (in reverse order from n'th to 1'st most commonly used) | |
10 | # to move them to the front of termcap | |
11 | # | |
09a7c9c0 | 12 | DESTDIR = |
3a6afa04 | 13 | |
1f519d9c | 14 | termcap: reorder termcap.src |
0b90910f | 15 | ex - termcap.src < reorder |
f42f0ddb | 16 | |
bc509670 | 17 | install: termcap tabset |
54514467 | 18 | install -m 444 termcap ${DESTDIR}/etc/termcap |
bc509670 | 19 | |
7f9fba16 | 20 | tabset: FRC |
3a6afa04 KL |
21 | rm -fr ${DESTDIR}/usr/lib/tabset |
22 | mkdir ${DESTDIR}/usr/lib/tabset | |
23 | cp tabset/* ${DESTDIR}/usr/lib/tabset | |
f42f0ddb | 24 | |
f6a33b51 | 25 | clean: |
1f519d9c KL |
26 | rm -f termcap |
27 | ||
7f9fba16 KM |
28 | FRC: |
29 | ||
1f519d9c KL |
30 | installall: |
31 | cp termcap /etc/termcap | |
bc509670 KL |
32 | @for i in arpa ernie kim dali calder ucbvax miro;\ |
33 | do echo $$i;\ | |
34 | rcp termcap $$i':'/etc/termcap;\ | |
35 | done | |
36 | ||
37 | tabsetall: tabset | |
38 | @for i in arpa ernie kim dali calder ucbvax miro;\ | |
39 | do echo $$i;\ | |
40 | rsh $$i /bin/rm -fr /usr/lib/tabset;\ | |
41 | rcp -r tabset $$i':'/usr/lib;\ | |
42 | done |