corrections to at386
[unix-history] / usr / src / share / termcap / Makefile
index c7c0f11..1c6574b 100644 (file)
@@ -1,20 +1,46 @@
-# @(#)Makefile 1.6     %G%
+#
+# Copyright (c) 1989 The Regents of the University of California.
+# All rights reserved.
+#
+# Redistribution and use in source and binary forms are permitted
+# provided that the above copyright notice and this paragraph are
+# duplicated in all such forms and that any documentation,
+# advertising materials, and other materials related to such
+# distribution and use acknowledge that the software was developed
+# by the University of California, Berkeley.  The name of the
+# University may not be used to endorse or promote products derived
+# from this software without specific prior written permission.
+# THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+# IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+# WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+#
+#      @(#)Makefile    5.8 (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
 #
-DESTDIR =
+MAN=   termcap.0
+TABS=  3101 aa aed512 beehive diablo dtc382 hp700-wy ibm3101 \
+       std stdcrt tandem653 teleray vt100 wyse-adds \
+       xerox1720 xerox1730 xerox1730-lm zenith29
 
 
-termcap.obj: reorder termcap.src
-       ex - termcap.src < reorder
+all: termcap
 
 
-install: termcap.obj
-       install -o root -m 664 -c termcap.obj ${DESTDIR}/etc/termcap
-       chgrp termcap ${DESTDIR}/etc/termcap
-       rm -fr ${DESTDIR}/usr/lib/tabset
-       mkdir ${DESTDIR}/usr/lib/tabset
-       cp tabset/* ${DESTDIR}/usr/lib/tabset
+termcap: reorder termcap.src
+       ex - termcap.src < reorder
 
 clean:
 
 clean:
-       rm -f termcap.obj
+       rm -f termcap
+
+cleandir:
+       rm -f ${MAN} tags .depend
+
+install: ${MAN}
+       install -o bin -g bin -m 444 termcap ${DESTDIR}/usr/share/misc
+       install -c -o bin -g bin -m 444 map3270 ${DESTDIR}/usr/share/misc
+       install -c -o bin -g bin -m 444 ${MAN} ${DESTDIR}/usr/man/cat5
+       cd tabset; install -c -o bin -g bin -m 444 ${TABS} \
+           ${DESTDIR}/usr/share/tabset
+
+depend lint tags: