add cleandir label
[unix-history] / usr / src / share / me / Makefile
CommitLineData
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#
19MELIB= /usr/lib/me
20TMLIB= /usr/lib/tmac
21MESRCS= 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 23TMSRCS= tmac.e
764e1de1 24
ae2d3983 25all:
764e1de1 26
ae2d3983 27install: 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
44clean:
e343f460 45cleandir:
ae2d3983 46depend:
e343f460
KB
47lint:
48tags:
ae2d3983 49FRC: