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 | # |
8db07ef8 | 17 | # @(#)Makefile 6.8 (Berkeley) %G% |
5116b874 | 18 | # |
8db07ef8 KB |
19 | MELIB= /usr/share/me |
20 | TMLIB= /usr/share/tmac | |
5116b874 | 21 | MESRCS= acm.me chars.me deltext.me eqn.me float.me footnote.me \ |
8db07ef8 KB |
22 | index.me letterhead.me local.me null.me refer.me sh.me \ |
23 | tbl.me thesis.me | |
5116b874 | 24 | TMSRCS= tmac.e |
764e1de1 | 25 | |
ae2d3983 | 26 | all: |
764e1de1 | 27 | |
ae2d3983 | 28 | install: FRC |
5116b874 KB |
29 | -[ -d ${DESTDIR}${MELIB} ] || mkdir ${DESTDIR}${MELIB} |
30 | -[ -d ${DESTDIR}${TMLIB} ] || mkdir ${DESTDIR}${TMLIB} | |
31 | chown bin.bin ${DESTDIR}${MELIB} ${DESTDIR}${TMLIB} | |
32 | chmod 755 ${DESTDIR}${MELIB} ${DESTDIR}${TMLIB} | |
33 | for i in ${MESRCS}; do \ | |
34 | sed -f strip.sed < $$i > ${DESTDIR}${MELIB}/$$i; \ | |
35 | chown bin.bin ${DESTDIR}${MELIB}/$$i; \ | |
36 | chmod 444 ${DESTDIR}${MELIB}/$$i; \ | |
37 | done | |
38 | for i in ${TMSRCS}; do \ | |
39 | sed -f strip.sed < $$i > ${DESTDIR}${TMLIB}/$$i; \ | |
40 | chown bin.bin ${DESTDIR}${TMLIB}/$$i; \ | |
41 | chmod 444 ${DESTDIR}${TMLIB}/$$i; \ | |
c21e3764 | 42 | done |
5116b874 | 43 | install -c -o bin -g bin -m 444 revisions ${DESTDIR}${MELIB}/revisions |
764e1de1 | 44 | |
8db07ef8 | 45 | clean cleandir depend lint tags FRC: |