xref: /original-bsd/share/me/Makefile (revision f3cd0a77)
1#
2# Copyright (c) 1987 The Regents of the University of California.
3# All rights reserved.
4#
5# Redistribution and use in source and binary forms are permitted
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.
16#
17#	@(#)Makefile	6.8 (Berkeley) 05/10/89
18#
19MELIB=	/usr/share/me
20TMLIB=	/usr/share/tmac
21MESRCS=	acm.me chars.me deltext.me eqn.me float.me footnote.me \
22	index.me letterhead.me local.me null.me refer.me sh.me \
23	tbl.me thesis.me
24TMSRCS=	tmac.e
25
26all:
27
28install: FRC
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; \
42	done
43	install -c -o bin -g bin -m 444 revisions ${DESTDIR}${MELIB}/revisions
44
45clean cleandir depend lint tags FRC:
46