1# transcript/lib/troff.font/Makefile.bsd
2#
3# Copyright (C) 1985 Adobe Systems Incorporated
4#
5# Makefile for troff width tables and pscat correspondence tables
6#
7# See pscatmap(8) and the .map files for more information.
8#
9# If you add a font family to your PostScript/troff database,
10# add it to the FAMILIES line in this makefile, then do a "make".
11
12.SUFFIXES: .ct .map
13
14#######################################################################
15# Here are the family names, the face names are gotten from the .map files
16
17FAMILIES = Times.ct Helvetica.ct
18FILES=	Times.head Times.ct ftR ftI ftB ftS \
19	Helvetica.head Helvetica.ct ftH ftHI ftHB ftHS
20
21#######################################################################
22
23install: ${FAMILIES}
24	-mkdir $${TROFFFONTDIR?undefined}
25	cp -p ${FILES} $${TROFFFONTDIR?undefined}
26
27.map.ct:
28	$${PSLIBDIR-/usr/local/lib/ps}/pscatmap $*.map
29	make `awk -f doto.awk $*.map`
30	awk -f head.awk $*.map >$*.head
31
32# If you want to be able to check the ".c" files, remove the last
33# rule line (the "rm").
34.c.o:
35	cc -c $*.c
36	mv $*.o $*
37	strip $*
38	rm $*.c
39
40clean:
41	rm -f - *.ct *.head *.c *.o ft? ft?? *BAK *CKP .emacs_[0-9]*
42