These groff(1) documents require sed(1) parsing.

This commit is contained in:
ru 2000-12-06 10:32:40 +00:00
parent 47c6557f62
commit 43df9736a5
2 changed files with 28 additions and 4 deletions

View File

@ -2,8 +2,20 @@
# $FreeBSD$
VOLUME= usd/19.memacros
SRCS= meintro.me
SRCS= meintro.me-sed
MACROS= -me
SRCDIR= ${.CURDIR}/../../../../contrib/groff/doc
SRCDIR= ${.OBJDIR}
GROFFDIR=${.CURDIR}/../../../../contrib/groff
.PATH: ${GROFFDIR}/doc
version=`cat ${GROFFDIR}/VERSION`
revision=`sed -e 's/^0$$//' -e 's/^[1-9].*$$/.&/' ${GROFFDIR}/REVISION`
meintro.me-sed: meintro.me
sed -e "s;@VERSION@;$(version)$(revision);" ${.ALLSRC} > ${.TARGET}
CLEANFILES+=${SRCS}
.include <bsd.doc.mk>

View File

@ -2,8 +2,20 @@
# $FreeBSD$
VOLUME= usd/20.meref
SRCS= meref.me
SRCS= meref.me-sed
MACROS= -me
SRCDIR= ${.CURDIR}/../../../../contrib/groff/doc
SRCDIR= ${.OBJDIR}
GROFFDIR=${.CURDIR}/../../../../contrib/groff
.PATH: ${GROFFDIR}/doc
version=`cat ${GROFFDIR}/VERSION`
revision=`sed -e 's/^0$$//' -e 's/^[1-9].*$$/.&/' ${GROFFDIR}/REVISION`
meref.me-sed: meref.me
sed -e "s;@VERSION@;$(version)$(revision);" ${.ALLSRC} > ${.TARGET}
CLEANFILES+=${SRCS}
.include <bsd.doc.mk>