Commit | Line | Data |
---|---|---|
5c2b71f2 | 1 | # @(#)Makefile 1.3 (Berkeley) %G% |
58b772b4 MK |
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 | ||
8 | PSLIBDIR = /usr/local/lib/ps | |
9 | ||
10 | FILES = banner.pro enscript.pro pstext.pro \ | |
11 | ps4014.pro ps630.pro ps4014.pro pscat.pro psplot.pro psdit.pro \ | |
5c2b71f2 | 12 | ehandler.ps uartpatch.ps bogusmsg.ps ucseal.ps \ |
58b772b4 MK |
13 | font.map |
14 | ||
5c2b71f2 | 15 | PRG = psint.sh psbad.sh loadseal.sh |
58b772b4 | 16 | |
dc0dcda2 MK |
17 | OWNER = bin |
18 | GROUP = bin | |
58b772b4 MK |
19 | |
20 | programs all: | |
21 | sed -e s,XPSLIBDIRX,$(PSLIBDIR),g psint.proto > psint.sh | |
22 | ||
23 | install: | |
24 | cd $(PSLIBDIR); rm -rf - ${FILES} ${PRG} *.afm | |
dc0dcda2 MK |
25 | cp -p ${FILES} ${PRG} *.afm $(PSLIBDIR) |
26 | cd $(PSLIBDIR); chown $(OWNER).$(GROUP) ${FILES} ${PRG} *.afm; \ | |
58b772b4 MK |
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; \ | |
5c2b71f2 | 33 | ln psbad.sh psbad; ln loadseal.sh loadseal |
dc0dcda2 MK |
34 | cd troff.font; make ${MFLAGS} install |
35 | cd ditroff.font; make ${MFLAGS} install | |
58b772b4 MK |
36 | |
37 | clean: | |
38 | rm -f - *.BAK *.CKP .emacs_[0-9]* | |
39 | cd troff.font; make ${MFLAGS} clean | |
40 | cd ditroff.font; make ${MFLAGS} clean |