Commit | Line | Data |
---|---|---|
764e1de1 | 1 | # |
9237a7b6 | 2 | # Copyright (c) 1987 The Regents of the University of California. |
5116b874 | 3 | # All rights reserved. |
c21e3764 | 4 | # |
5116b874 | 5 | # Redistribution and use in source and binary forms are permitted |
9237a7b6 KB |
6 | # provided that the above copyright notice and this paragraph are |
7 | # duplicated in all such forms and that any documentation, | |
8 | # advertising materials, and other materials related to such | |
9 | # distribution and use acknowledge that the software was developed | |
10 | # by the University of California, Berkeley. The name of the | |
11 | # University may not be used to endorse or promote products derived | |
12 | # from this software without specific prior written permission. | |
13 | # THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR | |
14 | # IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED | |
15 | # WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. | |
c21e3764 | 16 | # |
9237a7b6 | 17 | # @(#)Makefile 6.7 (Berkeley) %G% |
5116b874 KB |
18 | # |
19 | MELIB= /usr/lib/me | |
20 | TMLIB= /usr/lib/tmac | |
21 | MESRCS= acm.me chars.me deltext.me eqn.me float.me footnote.me \ | |
fe43a9bd | 22 | index.me letterhead.me local.me null.me refer.me sh.me tbl.me thesis.me |
5116b874 | 23 | TMSRCS= tmac.e |
764e1de1 | 24 | |
ae2d3983 | 25 | all: |
764e1de1 | 26 | |
ae2d3983 | 27 | install: FRC |
5116b874 KB |
28 | -[ -d ${DESTDIR}${MELIB} ] || mkdir ${DESTDIR}${MELIB} |
29 | -[ -d ${DESTDIR}${TMLIB} ] || mkdir ${DESTDIR}${TMLIB} | |
30 | chown bin.bin ${DESTDIR}${MELIB} ${DESTDIR}${TMLIB} | |
31 | chmod 755 ${DESTDIR}${MELIB} ${DESTDIR}${TMLIB} | |
32 | for i in ${MESRCS}; do \ | |
33 | sed -f strip.sed < $$i > ${DESTDIR}${MELIB}/$$i; \ | |
34 | chown bin.bin ${DESTDIR}${MELIB}/$$i; \ | |
35 | chmod 444 ${DESTDIR}${MELIB}/$$i; \ | |
36 | done | |
37 | for i in ${TMSRCS}; do \ | |
38 | sed -f strip.sed < $$i > ${DESTDIR}${TMLIB}/$$i; \ | |
39 | chown bin.bin ${DESTDIR}${TMLIB}/$$i; \ | |
40 | chmod 444 ${DESTDIR}${TMLIB}/$$i; \ | |
c21e3764 | 41 | done |
5116b874 | 42 | install -c -o bin -g bin -m 444 revisions ${DESTDIR}${MELIB}/revisions |
764e1de1 EA |
43 | |
44 | clean: | |
e343f460 | 45 | cleandir: |
ae2d3983 | 46 | depend: |
e343f460 KB |
47 | lint: |
48 | tags: | |
ae2d3983 | 49 | FRC: |