xref: /original-bsd/share/me/Makefile (revision ea3a8ee8)
1#	@(#)Makefile	6.15 (Berkeley) 07/23/92
2
3MELIB=	${BINDIR}/me
4TMLIB=	${BINDIR}/tmac
5MESRCS=	acm.me chars.me deltext.me eqn.me float.me footnote.me \
6	index.me letterhead.me local.me null.me refer.me sh.me \
7	tbl.me thesis.me
8TMSRCS=	tmac.e
9MAN7=	me.0
10
11beforeinstall:
12	cd ${.CURDIR}; for i in ${MESRCS}; do \
13		sed -f strip.sed < $$i > ${DESTDIR}${MELIB}/$$i; \
14		chown ${BINOWN}.${BINGRP} ${DESTDIR}${MELIB}/$$i; \
15		chmod 444 ${DESTDIR}${MELIB}/$$i; \
16	done
17	cd ${.CURDIR}; for i in ${TMSRCS}; do \
18		sed -f strip.sed < $$i > ${DESTDIR}${TMLIB}/$$i; \
19		chown ${BINOWN}.${BINGRP} ${DESTDIR}${TMLIB}/$$i; \
20		chmod 444 ${DESTDIR}${TMLIB}/$$i; \
21	done
22	cd ${.CURDIR}; install -c -o ${BINOWN} -g ${BINGRP} -m 444 revisions \
23	    ${DESTDIR}${MELIB}/revisions
24
25.include <bsd.prog.mk>
26