Makefile revision 74856
1# @(#)Makefile 8.2 (Berkeley) 3/27/94 2# $FreeBSD: head/share/me/Makefile 74856 2001-03-27 13:48:25Z ru $ 3 4MELIB= ${BINDIR}/me 5TMLIB= ${BINDIR}/tmac 6MESRCS= acm.me chars.me deltext.me eqn.me float.me footnote.me \ 7 index.me letterhead.me local.me null.me refer.me sh.me \ 8 tbl.me thesis.me 9TMSRCS= tmac.orig_me 10FILES= ${MESRCS} ${TMSRCS} 11CLEANFILES+= ${FILES:S/$/.tmp/} 12 13# XXX use groff version 14# MAN= me.7 15 16all: ${FILES:S/$/.tmp/} 17 18.for file in ${FILES} 19${file}.tmp: ${file} 20 sed -f ${.CURDIR}/strip.sed < ${.ALLSRC} > ${.TARGET} 21.endfor 22 23beforeinstall: 24.for file in ${MESRCS} 25 ${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${NOBINMODE} \ 26 ${file}.tmp ${DESTDIR}${MELIB}/${file} 27.endfor 28.for file in ${TMSRCS} 29 ${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${NOBINMODE} \ 30 ${file}.tmp ${DESTDIR}${TMLIB}/${file} 31.endfor 32 ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${NOBINMODE} \ 33 ${.CURDIR}/revisions ${DESTDIR}${MELIB}/ 34 35.include <bsd.prog.mk> 36