1# @(#)Makefile 1.3 (Berkeley) 04/15/88 2# transcript/lib/Makefile.bsd 3# 4# Copyright (c) 1985 Adobe Systems Incorporated. All Rights Reserved. 5# 6# RCSID: $Header: Makefile.bsd,v 2.1 85/11/24 12:19:06 shore Rel $ 7 8PSLIBDIR = /usr/local/lib/ps 9 10FILES = banner.pro enscript.pro pstext.pro \ 11 ps4014.pro ps630.pro ps4014.pro pscat.pro psplot.pro psdit.pro \ 12 ehandler.ps uartpatch.ps bogusmsg.ps ucseal.ps \ 13 font.map 14 15PRG = psint.sh psbad.sh loadseal.sh 16 17OWNER = bin 18GROUP = bin 19 20programs all: 21 sed -e s,XPSLIBDIRX,$(PSLIBDIR),g psint.proto > psint.sh 22 23install: 24 cd $(PSLIBDIR); rm -rf - ${FILES} ${PRG} *.afm 25 cp -p ${FILES} ${PRG} *.afm $(PSLIBDIR) 26 cd $(PSLIBDIR); chown $(OWNER).$(GROUP) ${FILES} ${PRG} *.afm; \ 27 chmod 664 ${FILES} *.afm; \ 28 chmod 775 ${PRG} 29 cd $(PSLIBDIR); \ 30 ln psint.sh psif; ln psint.sh psof; ln psint.sh psnf; \ 31 ln psint.sh pstf; ln psint.sh psgf; ln psint.sh psvf; \ 32 ln psint.sh psdf; ln psint.sh pscf; ln psint.sh psrf; \ 33 ln psbad.sh psbad; ln loadseal.sh loadseal 34 cd troff.font; make ${MFLAGS} install 35 cd ditroff.font; make ${MFLAGS} install 36 37clean: 38 rm -f - *.BAK *.CKP .emacs_[0-9]* 39 cd troff.font; make ${MFLAGS} clean 40 cd ditroff.font; make ${MFLAGS} clean 41