22 lines
442 B
Makefile
22 lines
442 B
Makefile
# From: @(#)Makefile 8.1 (Berkeley) 6/8/93
|
|
# $FreeBSD$
|
|
|
|
VOLUME= usd/20.meref
|
|
SRCS= meref.me-sed
|
|
MACROS= -me
|
|
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>
|