summaryrefslogtreecommitdiff
path: root/share/me/Makefile
blob: 7f10762476798194f2391efc60e19cc19212c639 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#	from: @(#)Makefile	6.11 (Berkeley) 7/1/90
#	$Id: Makefile,v 1.1 1995/10/18 08:44:42 deraadt Exp $

MELIB=	${BINDIR}/me
TMLIB=	${BINDIR}/tmac
MESRCS=	acm.me chars.me deltext.me eqn.me float.me footnote.me \
	index.me letterhead.me local.me null.me refer.me sh.me \
	tbl.me thesis.me
TMSRCS=	tmac.e
MAN=	me.7

realinstall:
	cd ${.CURDIR}; for i in ${MESRCS}; do \
		rm -f ${DESTDIR}${MELIB}/$$i; \
		sed -f strip.sed < $$i > ${DESTDIR}${MELIB}/$$i; \
		chown ${BINOWN}.${BINGRP} ${DESTDIR}${MELIB}/$$i; \
		chmod 444 ${DESTDIR}${MELIB}/$$i; \
	done
	cd ${.CURDIR}; for i in ${TMSRCS}; do \
		rm -f ${DESTDIR}${TMLIB}/$$i; \
		sed -f strip.sed < $$i > ${DESTDIR}${TMLIB}/$$i; \
		chown ${BINOWN}.${BINGRP} ${DESTDIR}${TMLIB}/$$i; \
		chmod 444 ${DESTDIR}${TMLIB}/$$i; \
	done
	cd ${.CURDIR}; install -c -o ${BINOWN} -g ${BINGRP} -m 444 revisions \
	    ${DESTDIR}${MELIB}/revisions

.include <bsd.prog.mk>