freebsd-dev/share/doc/usd/20.meref/Makefile
Ruslan Ermilov b382ba4fb1 bsd.doc.mk changes:
Don't gratuitously pipe thru a cat(1) if NODOCCOMPRESS.

Only create _stamp.extra when necessary.

Get rid of SOELIMPP and OBJS.

Use Groff version of soelim(1); we need its -I option
for the following to work.

Don't needlessly chdir to SRCDIR.  Only a few documents
need CD_HACK, and those that need it either use refer(1)
or .PSPIC macro which internally uses the .psbb call.
2002-10-29 14:56:09 +00:00

19 lines
427 B
Makefile

# From: @(#)Makefile 8.1 (Berkeley) 6/8/93
# $FreeBSD$
VOLUME= usd/20.meref
SRCS= meref.me-sed
MACROS= -me
GROFFDIR= ${.CURDIR}/../../../../contrib/groff
SRCDIR= ${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>