xterm: deleted white on black initialization sequence
[unix-history] / usr / src / share / termcap / Makefile
index d5c95b6..0915688 100644 (file)
@@ -1,18 +1,40 @@
 #
 #
+# Copyright (c) 1980 Regents of the University of California.
+# All rights reserved.  The Berkeley software License Agreement
+# specifies the terms and conditions for redistribution.
+#
+#      @(#)Makefile    5.1 (Berkeley) %G%
+#
 # reorder gives an editor command for most common terminals
 # (in reverse order from n'th to 1'st most commonly used)
 # to move them to the front of termcap
 #
 # reorder gives an editor command for most common terminals
 # (in reverse order from n'th to 1'st most commonly used)
 # to move them to the front of termcap
 #
-termcap.obj: termcap.src
-       ed - termcap.src < reorder
-install: termcap.obj
-       cp termcap.obj ${DESTDIR}/etc/termcap
+DESTDIR =
+
+termcap: reorder termcap.src
+       ex - termcap.src < reorder
+
+install: termcap tabset
+       install -m 444 termcap ${DESTDIR}/etc/termcap
+
+tabset:
+       rm -fr ${DESTDIR}/usr/lib/tabset
+       mkdir ${DESTDIR}/usr/lib/tabset
+       cp tabset/* ${DESTDIR}/usr/lib/tabset
+
 clean:
 clean:
-       rm -f termcap.obj
-tabset:        /tmp
-       mkdir /usr/lib/tabset
-       cp tabset/* /usr/lib/tabset
-VGRIND=        csh /usr/ucb/vgrind
-vgrind:
-       ${VGRIND} -n -h "Terminal Capibility Data Base" \
-       termcap.src reorder makefile
+       rm -f termcap
+
+installall:
+       cp termcap /etc/termcap
+       @for i in arpa ernie kim dali calder ucbvax miro;\
+               do echo $$i;\
+               rcp termcap $$i':'/etc/termcap;\
+               done
+
+tabsetall: tabset
+       @for i in arpa ernie kim dali calder ucbvax miro;\
+               do echo $$i;\
+               rsh $$i /bin/rm -fr /usr/lib/tabset;\
+               rcp -r tabset $$i':'/usr/lib;\
+               done