From 11834b7f231b0729a11f59925ace7a1bfe468b9c Mon Sep 17 00:00:00 2001 From: ru Date: Tue, 29 Oct 2002 14:56:09 +0000 Subject: 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. --- share/doc/usd/20.meref/Makefile | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) (limited to 'share/doc/usd/20.meref') diff --git a/share/doc/usd/20.meref/Makefile b/share/doc/usd/20.meref/Makefile index f4bf738..af30e9b 100644 --- a/share/doc/usd/20.meref/Makefile +++ b/share/doc/usd/20.meref/Makefile @@ -1,14 +1,11 @@ # 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 +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` @@ -16,6 +13,6 @@ 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} +CLEANFILES= ${SRCS} .include -- cgit v1.1