freebsd-src/share/me/Makefile
1995-08-05 07:25:43 +00:00

28 lines
814 B
Makefile

# @(#)Makefile 8.2 (Berkeley) 3/27/94
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.orig_me
# XXX use groff version
# MAN7= me.7
beforeinstall:
cd ${.CURDIR}; for i in ${MESRCS}; do \
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 \
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>