1 2VOLUME= usd/20.meref 3SRCS= meref.me-sed 4MACROS= -me 5GROFFDIR= ${SRCTOP}/contrib/groff 6SRCDIR= ${GROFFDIR}/doc 7 8version=`cat ${GROFFDIR}/VERSION` 9revision=`sed -e 's/^0$$//' -e 's/^[1-9].*$$/.&/' ${GROFFDIR}/REVISION` 10 11meref.me-sed: meref.me 12 sed -e "s;@VERSION@;$(version)$(revision);" ${.ALLSRC} > ${.TARGET} 13 14CLEANFILES= ${SRCS} 15 16.include <bsd.doc.mk> 17