1993-07-31 19:17:49 +04:00
|
|
|
# from: @(#)Makefile 6.11 (Berkeley) 7/1/90
|
1997-05-07 20:06:00 +04:00
|
|
|
# $Id: Makefile,v 1.11 1997/05/07 16:06:00 mycroft Exp $
|
1993-03-21 12:45:37 +03:00
|
|
|
|
|
|
|
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
|
1994-12-22 12:57:51 +03:00
|
|
|
MAN= me.7
|
1993-03-21 12:45:37 +03:00
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|
1997-03-25 00:57:01 +03:00
|
|
|
|
|
|
|
.for M in ${MESRCS}
|
|
|
|
|
|
|
|
proginstall:: ${DESTDIR}${MELIB}/${M}
|
|
|
|
.if !defined(UPDATE)
|
|
|
|
.PHONY: ${DESTDIR}${MELIB}/${M}
|
|
|
|
.endif
|
|
|
|
.if !defined(BUILD)
|
|
|
|
${DESTDIR}${MELIB}/${M}: .MADE
|
|
|
|
.endif
|
|
|
|
|
|
|
|
${DESTDIR}${MELIB}/${M}: ${M}
|
|
|
|
@rm -f ${.TARGET}
|
1997-03-27 02:11:15 +03:00
|
|
|
sed -f ${.CURDIR}/strip.sed < ${.ALLSRC} > ${.TARGET}
|
1997-03-25 00:57:01 +03:00
|
|
|
@chown ${BINOWN}:${BINGRP} ${.TARGET}
|
|
|
|
@chmod 444 ${.TARGET}
|
|
|
|
.endfor
|
|
|
|
|
|
|
|
.for M in ${TMSRCS}
|
|
|
|
|
|
|
|
proginstall:: ${DESTDIR}${TMLIB}/${M}
|
|
|
|
.if !defined(UPDATE)
|
|
|
|
.PHONY: ${DESTDIR}${TMLIB}/${M}
|
|
|
|
.endif
|
|
|
|
.if !defined(BUILD)
|
|
|
|
${DESTDIR}${TMLIB}/${M}: .MADE
|
|
|
|
.endif
|
|
|
|
|
|
|
|
${DESTDIR}${TMLIB}/${M}: ${M}
|
|
|
|
@rm -f ${.TARGET}
|
1997-03-27 02:11:15 +03:00
|
|
|
sed -f ${.CURDIR}/strip.sed < ${.ALLSRC} > ${.TARGET}
|
1997-03-25 00:57:01 +03:00
|
|
|
@chown ${BINOWN}:${BINGRP} ${.TARGET}
|
|
|
|
@chmod 444 ${.TARGET}
|
|
|
|
.endfor
|
|
|
|
|
|
|
|
proginstall:: ${DESTDIR}${MELIB}/revisions
|
|
|
|
.if !defined(UPDATE)
|
|
|
|
.PHONY: ${DESTDIR}${MELIB}/revisions
|
|
|
|
.endif
|
|
|
|
.if !defined(BUILD)
|
|
|
|
${DESTDIR}${MELIB}/revisions: .MADE
|
|
|
|
.endif
|
|
|
|
|
|
|
|
${DESTDIR}${MELIB}/revisions: revisions
|
|
|
|
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 ${.ALLSRC} ${.TARGET}
|
|
|
|
|