No empty .Rs/.Re
[netbsd-mini2440.git] / share / me / Makefile
blobb775993e74dd5468e2aef10f3197c8baeb6ab03b
1 # @(#)Makefile 8.2 (Berkeley) 3/27/94
2 # $NetBSD: Makefile,v 1.25 2004/03/20 20:41:33 dsl Exp $
4 MELIB= ${BINDIR}/me
5 #TMLIB= ${BINDIR}/tmac
6 MESRCS= 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
9 #TMSRCS= tmac.e
10 MAN= me.7
11 CLEANFILES+= ${MESRCS:=.tmp}
13 .include <bsd.prog.mk>
15 .for M in ${MESRCS}
17 proginstall:: ${DESTDIR}${MELIB}/${M}
18 .if ${MKUPDATE} == "no"
19 .PHONY: ${DESTDIR}${MELIB}/${M}
20 .endif
21 .if !defined(BUILD)
22 ${DESTDIR}${MELIB}/${M}: .MADE
23 .endif
25 ${DESTDIR}${MELIB}/${M}: ${M}
26 @rm -f ${.TARGET} ${M}.tmp
27 ${TOOL_SED} -f ${.CURDIR}/strip.sed < ${.ALLSRC} > ${M}.tmp
28 ${INSTALL_FILE:N-c} -o ${BINOWN} -g ${BINGRP} -m ${NONBINMODE} \
29 ${M}.tmp ${.TARGET}
30 @rm -f ${M}.tmp
31 .endfor
33 #.for M in ${TMSRCS}
35 #proginstall:: ${DESTDIR}${TMLIB}/${M}
36 #.if ${MKUPDATE} == "no"
37 #.PHONY: ${DESTDIR}${TMLIB}/${M}
38 #.endif
39 #.if !defined(BUILD)
40 #${DESTDIR}${TMLIB}/${M}: .MADE
41 #.endif
43 #${DESTDIR}${TMLIB}/${M}: ${M}
44 # @rm -f ${.TARGET} ${M}.tmp
45 # ${TOOL_SED} -f ${.CURDIR}/strip.sed < ${.ALLSRC} > ${M}.tmp
46 # ${INSTALL_FILE:N-c} -o ${BINOWN} -g ${BINGRP} -m ${NONBINMODE} \
47 # ${M}.tmp ${.TARGET}
48 #.endfor
50 proginstall:: ${DESTDIR}${MELIB}/revisions
51 .if ${MKUPDATE} == "no"
52 .PHONY: ${DESTDIR}${MELIB}/revisions
53 .endif
54 .if !defined(BUILD)
55 ${DESTDIR}${MELIB}/revisions: .MADE
56 .endif
58 ${DESTDIR}${MELIB}/revisions: revisions
59 ${INSTALL_FILE} -o ${BINOWN} -g ${BINGRP} -m ${NONBINMODE} \
60 ${.ALLSRC} ${.TARGET}