1997-07-07 22:33:30 +04:00
|
|
|
# @(#)Makefile 8.2 (Berkeley) 3/27/94
|
2008-10-26 02:27:34 +04:00
|
|
|
# $NetBSD: Makefile,v 1.26 2008/10/25 22:27:36 apb Exp $
|
1993-03-21 12:45:37 +03:00
|
|
|
|
|
|
|
MELIB= ${BINDIR}/me
|
2003-06-30 22:52:52 +04:00
|
|
|
#TMLIB= ${BINDIR}/tmac
|
1993-03-21 12:45:37 +03:00
|
|
|
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
|
2003-06-30 22:52:52 +04:00
|
|
|
#TMSRCS= tmac.e
|
1997-07-07 22:44:43 +04:00
|
|
|
MAN= me.7
|
2004-03-20 14:35:15 +03:00
|
|
|
CLEANFILES+= ${MESRCS:=.tmp}
|
1993-03-21 12:45:37 +03:00
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|
1997-07-07 22:44:43 +04:00
|
|
|
|
|
|
|
.for M in ${MESRCS}
|
|
|
|
|
|
|
|
proginstall:: ${DESTDIR}${MELIB}/${M}
|
2003-07-18 12:26:01 +04:00
|
|
|
.if ${MKUPDATE} == "no"
|
1997-07-07 22:44:43 +04:00
|
|
|
.PHONY: ${DESTDIR}${MELIB}/${M}
|
|
|
|
.endif
|
|
|
|
.if !defined(BUILD)
|
|
|
|
${DESTDIR}${MELIB}/${M}: .MADE
|
|
|
|
.endif
|
|
|
|
|
|
|
|
${DESTDIR}${MELIB}/${M}: ${M}
|
2001-08-07 14:24:46 +04:00
|
|
|
@rm -f ${.TARGET} ${M}.tmp
|
2008-10-26 02:27:34 +04:00
|
|
|
${TOOL_SED} -f ${.CURDIR}/strip.sed < ${.ALLSRC} > ${M}.tmp
|
2002-03-16 13:19:58 +03:00
|
|
|
${INSTALL_FILE:N-c} -o ${BINOWN} -g ${BINGRP} -m ${NONBINMODE} \
|
2002-02-09 12:14:32 +03:00
|
|
|
${M}.tmp ${.TARGET}
|
2004-03-20 23:41:33 +03:00
|
|
|
@rm -f ${M}.tmp
|
1997-07-07 22:44:43 +04:00
|
|
|
.endfor
|
|
|
|
|
2003-06-30 22:52:52 +04:00
|
|
|
#.for M in ${TMSRCS}
|
|
|
|
|
|
|
|
#proginstall:: ${DESTDIR}${TMLIB}/${M}
|
2003-07-18 12:26:01 +04:00
|
|
|
#.if ${MKUPDATE} == "no"
|
2003-06-30 22:52:52 +04:00
|
|
|
#.PHONY: ${DESTDIR}${TMLIB}/${M}
|
|
|
|
#.endif
|
|
|
|
#.if !defined(BUILD)
|
|
|
|
#${DESTDIR}${TMLIB}/${M}: .MADE
|
|
|
|
#.endif
|
|
|
|
|
|
|
|
#${DESTDIR}${TMLIB}/${M}: ${M}
|
|
|
|
# @rm -f ${.TARGET} ${M}.tmp
|
2008-10-26 02:27:34 +04:00
|
|
|
# ${TOOL_SED} -f ${.CURDIR}/strip.sed < ${.ALLSRC} > ${M}.tmp
|
2003-06-30 22:52:52 +04:00
|
|
|
# ${INSTALL_FILE:N-c} -o ${BINOWN} -g ${BINGRP} -m ${NONBINMODE} \
|
|
|
|
# ${M}.tmp ${.TARGET}
|
|
|
|
#.endfor
|
1997-07-07 22:44:43 +04:00
|
|
|
|
|
|
|
proginstall:: ${DESTDIR}${MELIB}/revisions
|
2003-07-18 12:26:01 +04:00
|
|
|
.if ${MKUPDATE} == "no"
|
1997-07-07 22:44:43 +04:00
|
|
|
.PHONY: ${DESTDIR}${MELIB}/revisions
|
|
|
|
.endif
|
|
|
|
.if !defined(BUILD)
|
|
|
|
${DESTDIR}${MELIB}/revisions: .MADE
|
|
|
|
.endif
|
|
|
|
|
|
|
|
${DESTDIR}${MELIB}/revisions: revisions
|
2002-03-18 00:11:32 +03:00
|
|
|
${INSTALL_FILE} -o ${BINOWN} -g ${BINGRP} -m ${NONBINMODE} \
|
1999-08-21 10:27:29 +04:00
|
|
|
${.ALLSRC} ${.TARGET}
|
1997-07-07 22:44:43 +04:00
|
|
|
|