22 lines
451 B
Makefile
22 lines
451 B
Makefile
# From: @(#)Makefile 8.1 (Berkeley) 6/8/93
|
|
# $FreeBSD$
|
|
|
|
VOLUME= usd/19.memacros
|
|
SRCS= meintro.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`
|
|
|
|
meintro.me-sed: meintro.me
|
|
sed -e "s;@VERSION@;$(version)$(revision);" ${.ALLSRC} > ${.TARGET}
|
|
|
|
CLEANFILES+=${SRCS}
|
|
|
|
.include <bsd.doc.mk>
|