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