diff options
author | ru <ru@FreeBSD.org> | 2000-12-06 10:32:40 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2000-12-06 10:32:40 +0000 |
commit | 43df9736a58bda8fc52489f323a384ef132ba75e (patch) | |
tree | 84828d7d14b0a3a1dbd046fdcb25cd91202f3131 /share/doc/usd | |
parent | 47c6557f62040db33abaf390782028eb5e7badce (diff) | |
download | FreeBSD-src-43df9736a58bda8fc52489f323a384ef132ba75e.zip FreeBSD-src-43df9736a58bda8fc52489f323a384ef132ba75e.tar.gz |
These groff(1) documents require sed(1) parsing.
Diffstat (limited to 'share/doc/usd')
-rw-r--r-- | share/doc/usd/19.memacros/Makefile | 16 | ||||
-rw-r--r-- | share/doc/usd/20.meref/Makefile | 16 |
2 files changed, 28 insertions, 4 deletions
diff --git a/share/doc/usd/19.memacros/Makefile b/share/doc/usd/19.memacros/Makefile index c9d2e7d..7378d09 100644 --- a/share/doc/usd/19.memacros/Makefile +++ b/share/doc/usd/19.memacros/Makefile @@ -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> diff --git a/share/doc/usd/20.meref/Makefile b/share/doc/usd/20.meref/Makefile index 05f3afe..f4bf738 100644 --- a/share/doc/usd/20.meref/Makefile +++ b/share/doc/usd/20.meref/Makefile @@ -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> |