Home | History | Annotate | Line # | Download | only in me
Makefile revision 1.26
      1  1.12    phil #	@(#)Makefile	8.2 (Berkeley) 3/27/94
      2  1.26     apb #	$NetBSD: Makefile,v 1.26 2008/10/25 22:27:36 apb 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.24     dsl CLEANFILES+= ${MESRCS:=.tmp}
     12  1.12    phil 
     13  1.13    phil .include <bsd.prog.mk>
     14  1.13    phil 
     15  1.13    phil .for M in ${MESRCS}
     16  1.13    phil 
     17  1.13    phil proginstall:: ${DESTDIR}${MELIB}/${M}
     18  1.23   lukem .if ${MKUPDATE} == "no"
     19  1.13    phil .PHONY: ${DESTDIR}${MELIB}/${M}
     20  1.13    phil .endif
     21  1.13    phil .if !defined(BUILD)
     22  1.13    phil ${DESTDIR}${MELIB}/${M}: .MADE
     23  1.13    phil .endif
     24  1.13    phil 
     25  1.13    phil ${DESTDIR}${MELIB}/${M}: ${M}
     26  1.18     mrg 	@rm -f ${.TARGET} ${M}.tmp
     27  1.26     apb 	${TOOL_SED} -f ${.CURDIR}/strip.sed < ${.ALLSRC} > ${M}.tmp
     28  1.20    tron 	${INSTALL_FILE:N-c} -o ${BINOWN} -g ${BINGRP} -m ${NONBINMODE} \
     29  1.19   lukem 		${M}.tmp ${.TARGET}
     30  1.25     dsl 	@rm -f ${M}.tmp
     31  1.13    phil .endfor
     32  1.13    phil 
     33  1.22     wiz #.for M in ${TMSRCS}
     34  1.13    phil 
     35  1.22     wiz #proginstall:: ${DESTDIR}${TMLIB}/${M}
     36  1.23   lukem #.if ${MKUPDATE} == "no"
     37  1.22     wiz #.PHONY: ${DESTDIR}${TMLIB}/${M}
     38  1.22     wiz #.endif
     39  1.22     wiz #.if !defined(BUILD)
     40  1.22     wiz #${DESTDIR}${TMLIB}/${M}: .MADE
     41  1.22     wiz #.endif
     42  1.22     wiz 
     43  1.22     wiz #${DESTDIR}${TMLIB}/${M}: ${M}
     44  1.22     wiz #	@rm -f ${.TARGET} ${M}.tmp
     45  1.26     apb #	${TOOL_SED} -f ${.CURDIR}/strip.sed < ${.ALLSRC} > ${M}.tmp
     46  1.22     wiz #	${INSTALL_FILE:N-c} -o ${BINOWN} -g ${BINGRP} -m ${NONBINMODE} \
     47  1.22     wiz #		${M}.tmp ${.TARGET}
     48  1.22     wiz #.endfor
     49  1.13    phil 
     50  1.13    phil proginstall:: ${DESTDIR}${MELIB}/revisions
     51  1.23   lukem .if ${MKUPDATE} == "no"
     52  1.13    phil .PHONY: ${DESTDIR}${MELIB}/revisions
     53  1.13    phil .endif
     54  1.13    phil .if !defined(BUILD)
     55  1.13    phil ${DESTDIR}${MELIB}/revisions: .MADE
     56  1.13    phil .endif
     57  1.13    phil 
     58  1.13    phil ${DESTDIR}${MELIB}/revisions: revisions
     59  1.21    tron 	${INSTALL_FILE} -o ${BINOWN} -g ${BINGRP} -m ${NONBINMODE} \
     60  1.16  simonb 	    ${.ALLSRC} ${.TARGET}
     61   1.1     cgd 
     62