aboutsummaryrefslogtreecommitdiff
path: root/share/doc/usd/19.memacros/Makefile
blob: e3a00289cd6c394c30e550f2ea093b46e46c87be (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16

VOLUME=		usd/19.memacros
SRCS=		meintro.me-sed
MACROS=		-me
GROFFDIR=	${SRCTOP}/contrib/groff
SRCDIR=		${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>