Home | History | Annotate | Line # | Download | only in tmac
Makefile revision 1.21
      1  1.19      phil #	@(#)Makefile	8.1 (Berkeley) 6/8/93
      2  1.21   thorpej #	$NetBSD: Makefile,v 1.21 1998/02/15 02:54:17 thorpej Exp $
      3   1.1       cgd 
      4  1.20   thorpej # IF YOU ADD TO MSRCS, MAKE SURE YOU UPDATE `CATDEPS' IN bsd.man.mk!
      5  1.16   mycroft MSRCS=  andoc doc doc-ditroff doc-common doc-nroff doc-syms
      6  1.15  christos MMACS=  ${MSRCS:S@^@tmac.@g}
      7  1.16   mycroft FILES=	${MMACS}
      8  1.15  christos FILESDIR=${BINDIR}/tmac
      9  1.17   mycroft LINKS=	${FILESDIR}/tmac.andoc ${FILESDIR}/tmac.an
     10  1.15  christos CLEANFILES+= ${MMACS}
     11   1.1       cgd 
     12  1.15  christos STRIP_SED = ${.CURDIR}/../me/strip.sed
     13   1.2       cgd 
     14   1.1       cgd # old macros not currently installed...
     15   1.6       jtc OFILES=	tmac.an.v6compat tmac.an6n tmac.an6t tmac.a tmac.cp tmac.doc.old
     16   1.1       cgd 
     17  1.15  christos all:	${MMACS}
     18  1.15  christos 
     19  1.15  christos .for i in ${MSRCS}
     20  1.15  christos tmac.$i: $i
     21  1.21   thorpej 	@if [ ! -f ${.TARGET} -o ${.ALLSRC} -nt ${.TARGET} ]; then \
     22  1.21   thorpej 		echo "sed -f ${STRIP_SED} < ${.ALLSRC} > ${.TARGET}"; \
     23  1.21   thorpej 		sed -f ${STRIP_SED} < ${.ALLSRC} > ${.TARGET}; \
     24  1.21   thorpej 	fi
     25  1.15  christos .endfor
     26   1.1       cgd 
     27   1.1       cgd .include <bsd.prog.mk>
     28