Home | History | Annotate | Line # | Download | only in me
Makefile revision 1.22
      1  1.12    phil #	@(#)Makefile	8.2 (Berkeley) 3/27/94
      2  1.22     wiz #	$NetBSD: Makefile,v 1.22 2003/06/30 18:52:52 wiz Exp $
      3   1.1     cgd 
      4   1.1     cgd MELIB=	${BINDIR}/me
      5  1.22     wiz #TMLIB=	${BINDIR}/tmac
      6   1.1     cgd MESRCS=	acm.me chars.me deltext.me eqn.me float.me footnote.me \
      7   1.1     cgd 	index.me letterhead.me local.me null.me refer.me sh.me \
      8   1.1     cgd 	tbl.me thesis.me
      9  1.22     wiz #TMSRCS=	tmac.e
     10  1.13    phil MAN=	me.7
     11  1.12    phil 
     12  1.13    phil .include <bsd.prog.mk>
     13  1.13    phil 
     14  1.13    phil .for M in ${MESRCS}
     15  1.13    phil 
     16  1.13    phil proginstall:: ${DESTDIR}${MELIB}/${M}
     17  1.13    phil .if !defined(UPDATE)
     18  1.13    phil .PHONY: ${DESTDIR}${MELIB}/${M}
     19  1.13    phil .endif
     20  1.13    phil .if !defined(BUILD)
     21  1.13    phil ${DESTDIR}${MELIB}/${M}: .MADE
     22  1.13    phil .endif
     23  1.13    phil 
     24  1.13    phil ${DESTDIR}${MELIB}/${M}: ${M}
     25  1.18     mrg 	@rm -f ${.TARGET} ${M}.tmp
     26  1.18     mrg 	sed -f ${.CURDIR}/strip.sed < ${.ALLSRC} > ${M}.tmp
     27  1.20    tron 	${INSTALL_FILE:N-c} -o ${BINOWN} -g ${BINGRP} -m ${NONBINMODE} \
     28  1.19   lukem 		${M}.tmp ${.TARGET}
     29  1.13    phil .endfor
     30  1.13    phil 
     31  1.22     wiz #.for M in ${TMSRCS}
     32  1.13    phil 
     33  1.22     wiz #proginstall:: ${DESTDIR}${TMLIB}/${M}
     34  1.22     wiz #.if !defined(UPDATE)
     35  1.22     wiz #.PHONY: ${DESTDIR}${TMLIB}/${M}
     36  1.22     wiz #.endif
     37  1.22     wiz #.if !defined(BUILD)
     38  1.22     wiz #${DESTDIR}${TMLIB}/${M}: .MADE
     39  1.22     wiz #.endif
     40  1.22     wiz 
     41  1.22     wiz #${DESTDIR}${TMLIB}/${M}: ${M}
     42  1.22     wiz #	@rm -f ${.TARGET} ${M}.tmp
     43  1.22     wiz #	sed -f ${.CURDIR}/strip.sed < ${.ALLSRC} > ${M}.tmp
     44  1.22     wiz #	${INSTALL_FILE:N-c} -o ${BINOWN} -g ${BINGRP} -m ${NONBINMODE} \
     45  1.22     wiz #		${M}.tmp ${.TARGET}
     46  1.22     wiz #.endfor
     47  1.13    phil 
     48  1.13    phil proginstall:: ${DESTDIR}${MELIB}/revisions
     49  1.13    phil .if !defined(UPDATE)
     50  1.13    phil .PHONY: ${DESTDIR}${MELIB}/revisions
     51  1.13    phil .endif
     52  1.13    phil .if !defined(BUILD)
     53  1.13    phil ${DESTDIR}${MELIB}/revisions: .MADE
     54  1.13    phil .endif
     55  1.13    phil 
     56  1.13    phil ${DESTDIR}${MELIB}/revisions: revisions
     57  1.21    tron 	${INSTALL_FILE} -o ${BINOWN} -g ${BINGRP} -m ${NONBINMODE} \
     58  1.16  simonb 	    ${.ALLSRC} ${.TARGET}
     59   1.1     cgd 
     60