Date: Mon, 2 Aug 1999 20:40:02 -0700 (PDT) From: hoek@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: Re:misc/6612 Message-ID: <199908030340.UAA03660@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR misc/6612; it has been noted by GNATS.
From: hoek@freebsd.org
To: freebsd-gnats-submit@freebsd.org, sjr@home.net
Cc:
Subject: Re:misc/6612
Date: Mon, 2 Aug 1999 23:38:20 -0400 (EDT)
>
> % touch Net::servent.3
> % cat Makefile
> MAN3+= Net::servent.3
> .include <bsd.prog.mk>
> % make
> make: don't know how to make Net::servent.3.gz. Stop
Here, the following patch fixes the problem.
--- bsd.man.mk.orig Mon Aug 2 21:59:33 1999
+++ bsd.man.mk Mon Aug 2 23:33:40 1999
@@ -100 +100 @@
-.for target in ${page:T:S/$/${FILTEXTENSION}/g}
+.for target in ${page:T:S/$/${FILTEXTENSION}/:S/!//g:S/://g:S/(//g}
@@ -103 +103 @@
- ${MANFILTER} < ${.ALLSRC} > ${.TARGET}
+ ${MANFILTER} < ${.ALLSRC} > ${.TARGET:S//!/g:S//:/g:S//(/g}
@@ -106 +106 @@
-.for target in ${page:T:S/$/${CATEXT}${FILTEXTENSION}/g}
+.for target in ${page:T:S/$/${CATEXT}${FILTEXTENSION}/:S/!//g:S/://g:S/(//g}
@@ -109 +109 @@
- ${MANFILTER} < ${.ALLSRC} | ${MROFF_CMD} > ${.TARGET}
+ ${MANFILTER} < ${.ALLSRC} | ${MROFF_CMD} > ${.TARGET:S//!/g:S//:/g:S//(/g}
@@ -121 +121 @@
-.for target in ${page:T:S/$/${CATEXT}/g}
+.for target in ${page:T:S/$/${CATEXT}/:S/!//g:S/://g:S/(//g}
@@ -124 +124 @@
- ${MROFF_CMD} ${.ALLSRC} > ${.TARGET}
+ ${MROFF_CMD} ${.ALLSRC} > ${.TARGET:S//!/g:S//:/g:S//(/g}
@@ -141 +141 @@
-.for target in ${page:T:S/$/${MCOMPRESS_EXT}/}
+.for target in ${page:T:S/$/${MCOMPRESS_EXT}/:S/!//g:S/://g:S/(//g}
@@ -145 +145 @@
- ${MANFILTER} < ${.ALLSRC} | ${MCOMPRESS_CMD} > ${.TARGET}
+ ${MANFILTER} < ${.ALLSRC} | ${MCOMPRESS_CMD} > ${.TARGET:S//!/g:S//:/g:S//(/g}
@@ -147 +147 @@
- ${MCOMPRESS_CMD} ${.ALLSRC} > ${.TARGET}
+ ${MCOMPRESS_CMD} ${.ALLSRC} > ${.TARGET:S//!/g:S//:/g:S//(/g}
@@ -151 +151 @@
-.for target in ${page:T:S/$/${CATEXT}${MCOMPRESS_EXT}/}
+.for target in ${page:T:S/$/${CATEXT}${MCOMPRESS_EXT}/:S/!//g:S/://g:S/(//g}
@@ -155 +155 @@
- ${MANFILTER} < ${.ALLSRC} | ${MROFF_CMD} | ${MCOMPRESS_CMD} > ${.TARGET}
+ ${MANFILTER} < ${.ALLSRC} | ${MROFF_CMD} | ${MCOMPRESS_CMD} > ${.TARGET:S//!/g:S//:/g:S//(/g}
@@ -157 +157 @@
- ${MROFF_CMD} ${.ALLSRC} | ${MCOMPRESS_CMD} > ${.TARGET}
+ ${MROFF_CMD} ${.ALLSRC} | ${MCOMPRESS_CMD} > ${.TARGET:S//!/g:S//:/g:S//(/g}
Beware of embedded binary characters...don't cut&paste this, folks.
I don't know what Bruce thinks of this patch. I'm not sure whether he
kibozes on "Bruce" or on "bde", so I'll try both.
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199908030340.UAA03660>
