Home | History | Annotate | Line # | Download | only in me
Makefile revision 1.13
      1  1.12  phil #	@(#)Makefile	8.2 (Berkeley) 3/27/94
      2  1.13  phil #	$NetBSD: Makefile,v 1.13 1997/07/07 18:44:43 phil Exp $
      3   1.1   cgd 
      4   1.1   cgd MELIB=	${BINDIR}/me
      5   1.1   cgd 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.13  phil 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.13  phil 	@rm -f ${.TARGET}
     26  1.13  phil 	sed -f ${.CURDIR}/strip.sed < ${.ALLSRC} > ${.TARGET}
     27  1.13  phil 	@chown ${BINOWN}:${BINGRP} ${.TARGET}
     28  1.13  phil 	@chmod 444 ${.TARGET}
     29  1.13  phil .endfor
     30  1.13  phil 
     31  1.13  phil .for M in ${TMSRCS}
     32  1.13  phil 
     33  1.13  phil proginstall:: ${DESTDIR}${TMLIB}/${M}
     34  1.13  phil .if !defined(UPDATE)
     35  1.13  phil .PHONY: ${DESTDIR}${TMLIB}/${M}
     36  1.13  phil .endif
     37  1.13  phil .if !defined(BUILD)
     38  1.13  phil ${DESTDIR}${TMLIB}/${M}: .MADE
     39  1.13  phil .endif
     40  1.13  phil 
     41  1.13  phil ${DESTDIR}${TMLIB}/${M}: ${M}
     42  1.13  phil 	@rm -f ${.TARGET}
     43  1.13  phil 	sed -f ${.CURDIR}/strip.sed < ${.ALLSRC} > ${.TARGET}
     44  1.13  phil 	@chown ${BINOWN}:${BINGRP} ${.TARGET}
     45  1.13  phil 	@chmod 444 ${.TARGET}
     46  1.13  phil .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.13  phil 	${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 ${.ALLSRC} ${.TARGET}
     58   1.1   cgd 
     59