Home | History | Annotate | Line # | Download | only in me
Makefile revision 1.11
      1   1.3   mycroft #	from: @(#)Makefile	6.11 (Berkeley) 7/1/90
      2  1.11   mycroft #	$Id: Makefile,v 1.11 1997/05/07 16:06:00 mycroft 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.1       cgd TMSRCS=	tmac.e
     10   1.6       cgd MAN=	me.7
     11   1.1       cgd 
     12   1.1       cgd .include <bsd.prog.mk>
     13   1.9  christos 
     14   1.9  christos .for M in ${MESRCS}
     15   1.9  christos 
     16   1.9  christos proginstall:: ${DESTDIR}${MELIB}/${M}
     17   1.9  christos .if !defined(UPDATE)
     18   1.9  christos .PHONY: ${DESTDIR}${MELIB}/${M}
     19   1.9  christos .endif
     20   1.9  christos .if !defined(BUILD)
     21   1.9  christos ${DESTDIR}${MELIB}/${M}: .MADE
     22   1.9  christos .endif
     23   1.9  christos 
     24   1.9  christos ${DESTDIR}${MELIB}/${M}: ${M}
     25   1.9  christos 	@rm -f ${.TARGET}
     26  1.10   thorpej 	sed -f ${.CURDIR}/strip.sed < ${.ALLSRC} > ${.TARGET}
     27   1.9  christos 	@chown ${BINOWN}:${BINGRP} ${.TARGET}
     28   1.9  christos 	@chmod 444 ${.TARGET}
     29   1.9  christos .endfor
     30   1.9  christos 
     31   1.9  christos .for M in ${TMSRCS}
     32   1.9  christos 
     33   1.9  christos proginstall:: ${DESTDIR}${TMLIB}/${M}
     34   1.9  christos .if !defined(UPDATE)
     35   1.9  christos .PHONY: ${DESTDIR}${TMLIB}/${M}
     36   1.9  christos .endif
     37   1.9  christos .if !defined(BUILD)
     38   1.9  christos ${DESTDIR}${TMLIB}/${M}: .MADE
     39   1.9  christos .endif
     40   1.9  christos 
     41   1.9  christos ${DESTDIR}${TMLIB}/${M}: ${M}
     42   1.9  christos 	@rm -f ${.TARGET}
     43  1.10   thorpej 	sed -f ${.CURDIR}/strip.sed < ${.ALLSRC} > ${.TARGET}
     44   1.9  christos 	@chown ${BINOWN}:${BINGRP} ${.TARGET}
     45   1.9  christos 	@chmod 444 ${.TARGET}
     46   1.9  christos .endfor
     47   1.9  christos 
     48   1.9  christos proginstall:: ${DESTDIR}${MELIB}/revisions
     49   1.9  christos .if !defined(UPDATE)
     50   1.9  christos .PHONY: ${DESTDIR}${MELIB}/revisions
     51   1.9  christos .endif
     52   1.9  christos .if !defined(BUILD)
     53   1.9  christos ${DESTDIR}${MELIB}/revisions: .MADE
     54   1.9  christos .endif
     55   1.9  christos 
     56   1.9  christos ${DESTDIR}${MELIB}/revisions: revisions
     57   1.9  christos 	${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 ${.ALLSRC} ${.TARGET}
     58   1.9  christos 
     59