BSD 4_3_Tahoe release
[unix-history] / usr / src / usr.lib / me / Makefile
CommitLineData
764e1de1 1#
ca67e7b4
C
2# Copyright (c) 1987 Regents of the University of California.
3# All rights reserved.
c21e3764 4#
ca67e7b4
C
5# Redistribution and use in source and binary forms are permitted
6# provided that this notice is preserved and that due credit is given
7# to the University of California at Berkeley. The name of the University
8# may not be used to endorse or promote products derived from this
9# software without specific prior written permission. This software
10# is provided ``as is'' without express or implied warranty.
c21e3764 11#
ca67e7b4 12# @(#)Makefile 6.5 (Berkeley) 5/19/88
764e1de1 13#
ca67e7b4
C
14MELIB= /usr/lib/me
15TMLIB= /usr/lib/tmac
16MESRCS= acm.me chars.me deltext.me eqn.me float.me footnote.me \
17 index.me letterhead.me local.me null.me refer.me sh.me tbl.me thesis.me
18TMSRCS= tmac.e
764e1de1 19
ca67e7b4 20all:
764e1de1 21
ca67e7b4
C
22install: FRC
23 -[ -d ${DESTDIR}${MELIB} ] || mkdir ${DESTDIR}${MELIB}
24 -[ -d ${DESTDIR}${TMLIB} ] || mkdir ${DESTDIR}${TMLIB}
25 chown bin.bin ${DESTDIR}${MELIB} ${DESTDIR}${TMLIB}
26 chmod 755 ${DESTDIR}${MELIB} ${DESTDIR}${TMLIB}
27 for i in ${MESRCS}; do \
28 strip.sed < $$i > ${DESTDIR}${MELIB}/$$i; \
29 chown bin.bin ${DESTDIR}${MELIB}/$$i; \
30 chmod 444 ${DESTDIR}${MELIB}/$$i; \
c21e3764 31 done
ca67e7b4
C
32 for i in ${TMSRCS}; do \
33 strip.sed < $$i > ${DESTDIR}${TMLIB}/$$i; \
34 chown bin.bin ${DESTDIR}${TMLIB}/$$i; \
35 chmod 444 ${DESTDIR}${TMLIB}/$$i; \
36 done
37 install -c -o bin -g bin -m 444 revisions ${DESTDIR}${MELIB}/revisions
764e1de1
EA
38
39clean:
ca67e7b4
C
40depend:
41FRC: